Symbol "*BUILT-IN-FLOAT-TYPES*" not found in the CFFI package.

Liam Healy lhealy at common-lisp.net
Fri Oct 4 01:55:28 UTC 2013


On Wed, Sep 25, 2013 at 7:30 PM, Adam Jensen <hanzer at riseup.net> wrote:

> Hi,
>
> I've encountered some problems while having a look at GSLL (well,
> attempting to have a look at GSLL anyway). I can't seem to get started
> on an OpenBSD machine or a Xubuntu Linux machine. Any ideas about what
> the problem may be?
>
> -------------------------------------------------------------------
> Problems on an OpenBSD machine
> -------------------------------------------------------------------
>
> lucidrine:/home/hanzer$ dmesg | head -1
> OpenBSD 5.3 (GENERIC.MP) #58: Tue Mar 12 18:43:53 MDT 2013
>
> lucidrine:/home/hanzer$ sbcl --version
> SBCL 1.0.58.openbsd
>
> -- Installed from /usr/ports --
> gsl-1.15
> libffi-3.0.9
> --
>
> lucidrine:/home/hanzer$ curl -O http://beta.quicklisp.org/quicklisp.lisp
>
> lucidrine:/home/hanzer$ sbcl --load quicklisp.lisp
> ...
> * (quicklisp-quickstart:install)
> ...
> * (ql:add-to-init-file)
> ...
> * (ql:quickload "gsll")
>
> --a bunch of fetching then--
>
> ; Loading "gsll"
> [package alexandria.0.dev]........................
> [package babel-encodings].........................
> [package babel]...................................
> ..................................................
> [package cffi-sys]................................
> [package cffi]....................................
> ..................................................
> [package cffi-features]...........................
> [package cffi-grovel]...........
> debugger invoked on a ASDF:LOAD-SYSTEM-DEFINITION-ERROR:
>   Error while trying to load definition for system gsll from pathname
>
> /home/hanzer/quicklisp/dists/quicklisp/software/gsll-20130615-git/gsll.asd:
>      Unable to load any of the alternatives:
>    ("libffi.so.6" "libffi32.so.6" "libffi.so.5" "libffi32.so.5")
>

This looks like you don't have libfffi OS package installed. I'm not
familiar with OpenBSD, so you'll have to figure out what it's called, but
it should be the "development" package if they make a distinction, i.e.,
the one with the .h files as well as the library (.so). But in fact it
looks like you don't have either now.


> Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
>
> -------------------------------------------------------------------
> Problems on a xubuntu Linux machine
> -------------------------------------------------------------------
>
> #30-Ubuntu SMP Wed May 1 16:36:13 UTC 2013 (Ubuntu 3.8.0-19.30-generic
> 3.8.8)
>
> helix:~$ sbcl --version
> SBCL 1.1.1.0.debian
>
> -- Installed from Synaptic --
> libgsl0-dev
> libgsl0ldbl
> libffi6
> libffi-dev
> --
>
> helix:~$ curl -O http://beta.quicklisp.org/quicklisp.lisp
> ...
> helix:~$ sbcl --load quicklisp.lisp
> ...
> * (quicklisp-quickstart:install)
> ...
>   ==== quicklisp installed ====
> ...
> * (ql:quickload "gsll")
> ...
>
> --a bunch of fetching then--
>
> ; Loading "gsll"
> ..; cc -m32 -I/usr/share/common-lisp/source/cl-cffi/ -fPIC -o
>
> /home/dmagus/.cache/common-lisp/sbcl-1.1.1.0.debian-linux-x86/home/dmagus/quicklisp/dists/quicklisp/software/cffi_0.11.2/libffi/libffi-unix
>
> /home/dmagus/.cache/common-lisp/sbcl-1.1.1.0.debian-linux-x86/home/dmagus/quicklisp/dists/quicklisp/software/cffi_0.11.2/libffi/libffi-unix.c
> ;
>
> /home/dmagus/.cache/common-lisp/sbcl-1.1.1.0.debian-linux-x86/home/dmagus/quicklisp/dists/quicklisp/software/cffi_0.11.2/libffi/libffi-unix
>
> /home/dmagus/.cache/common-lisp/sbcl-1.1.1.0.debian-linux-x86/home/dmagus/quicklisp/dists/quicklisp/software/cffi_0.11.2/libffi/libffi-unix.grovel-tmp.lisp
> .;
> ; caught ERROR:
> ;   READ error during COMPILE-FILE:
> ;
> ;     Symbol "*BUILT-IN-FLOAT-TYPES*" not found in the CFFI package.
> ;
> ;       Line: 36, Column: 49, File-Position: 1632
> ;
> ;       Stream: #<SB-SYS:FD-STREAM
> ;                 for "file
>
> /home/dmagus/quicklisp/dists/quicklisp/software/cffi_0.11.2/libffi/built-in-types.lisp"
> ;                 {C2C57B9}>
>
> debugger invoked on a LOAD-SYSTEM-DEFINITION-ERROR in thread
> #<THREAD "main thread" RUNNING {AB16819}>:
>   Error while trying to load definition for system gsll from pathname
>
> /home/dmagus/quicklisp/dists/quicklisp/software/gsll-20130615-git/gsll.asd:
>      Error while invoking #<COMPILE-OP NIL {B978391}> on
>      #<CL-SOURCE-FILE "cffi-libffi" "libffi" "built-in-types">
>
> Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
>
>
>
>
>
This is weird. *built-in-float-types* is defined in src/types.lisp, line
113; you can check for yourself in the source code.

Liam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/gsll-devel/attachments/20131003/7cee8fed/attachment.html>


More information about the gsll-devel mailing list