Hello,
this is my first post to the list. I've tried the archives but not found an answer. Apologies if this has come up before.
I've successfully installed gsll previously under SBCL, with a system-wide SBCL install, and everything worked just fine.
On my current system I've had to install everything under my local user directory and SBCL (1.0.30) has been installed there too, compiled from source.
I've installed all the dependencies but I get a problem on compilation. I've pasted all the output below.
The issue seems to be with CFFI-GROVEL and I guess that it can't find libgsl. That is also installed locally under $HOME/lib and is exported in my LD_LIBRARY_PATH.
Is there some other way to point to libgsl or have I got the wrong end of the stick?
BTW when first compiling I also got an error (which isn't replicated below) about not being able to find "gsl_version" and something to do with a missing "ALIEN-..."?
The host system is SUSE (SLED 10).
Any help would be much appreciated.
Thanks,
Simon
Output from SBCL was:
* (require 'asdf)
("ASDF")
* (asdf:operate 'asdf:load-op :gsll)
; loading system definition from /login/simonh/.sbcl/systems/gsll.asd into
; #<PACKAGE "ASDF0">
; loading system definition from /login/simonh/.sbcl/systems/fsbv.asd into
; #<PACKAGE "ASDF1">
; loading system definition from /login/simonh/.sbcl/systems/cffi-grovel.asd
; into #<PACKAGE "ASDF2">
; registering #<SYSTEM CFFI-GROVEL {AD3DDD9}> as CFFI-GROVEL
; loading system definition from /login/simonh/.sbcl/systems/alexandria.asd
; into #<PACKAGE "ASDF2">
; registering #<SYSTEM :ALEXANDRIA {B18FCA1}> as ALEXANDRIA
; loading system definition from /login/simonh/.sbcl/systems/cffi.asd into
; #<PACKAGE "ASDF2">
; registering #<SYSTEM CFFI {B37BD09}> as CFFI
; loading system definition from /login/simonh/.sbcl/systems/babel.asd into
; #<PACKAGE "ASDF2">
; registering #<SYSTEM BABEL {B4E9BA9}> as BABEL
; loading system definition from
; /login/simonh/.sbcl/systems/trivial-features.asd into #<PACKAGE "ASDF2">
; registering #<SYSTEM TRIVIAL-FEATURES {AA30489}> as TRIVIAL-FEATURES
; registering #<SYSTEM :FSBV {AD0E019}> as FSBV
; registering #<SYSTEM "gsll" {AFA1949}> as gsll
; loading system definition from /login/simonh/.sbcl/systems/cl-utilities.asd
; into #<PACKAGE "ASDF0">
; registering #<SYSTEM CL-UTILITIES {B18FD31}> as CL-UTILITIES
; loading system definition from
; /login/simonh/.sbcl/systems/trivial-garbage.asd into #<PACKAGE "ASDF0">
; registering #<SYSTEM TRIVIAL-GARBAGE {A939841}> as TRIVIAL-GARBAGE
; registering #<SYSTEM TRIVIAL-GARBAGE-TESTS {AA79521}> as TRIVIAL-GARBAGE-TESTS
debugger invoked on a TYPE-ERROR in thread #<THREAD "initial thread" RUNNING {A9007A9}>: The value NIL is not of type PACKAGE.
Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [TRY-RECOMPILING] Try recompiling libgsl
1: [RETRY ] Retry performing #<ASDF:COMPILE-OP NIL {AFFFC71}> on #<CFFI-GROVEL:GROVEL-FILE "libgsl" {BAFB3D1}>.
2: [ACCEPT ] Continue, treating #<ASDF:COMPILE-OP NIL {AFFFC71}> on #<CFFI-GROVEL:GROVEL-FILE "libgsl" {BAFB3D1}> as having been successful.
3: [ABORT ] Exit debugger, returning to top level.
((LABELS CFFI-GROVEL::PROCESS-FORM) (IN-PACKAGE :GSL))
0] 0
debugger invoked on a TYPE-ERROR in thread #<THREAD "initial thread" RUNNING {A9007A9}>: The value NIL is not of type PACKAGE.
Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [TRY-RECOMPILING] Try recompiling libgsl
1: [RETRY ] Retry performing #<ASDF:COMPILE-OP NIL {AFFFC71}> on #<CFFI-GROVEL:GROVEL-FILE "libgsl" {BAFB3D1}>.
2: [ACCEPT ] Continue, treating #<ASDF:COMPILE-OP NIL {AFFFC71}> on #<CFFI-GROVEL:GROVEL-FILE "libgsl" {BAFB3D1}> as having been successful.
3: [ABORT ] Exit debugger, returning to top level.
((LABELS CFFI-GROVEL::PROCESS-FORM) (IN-PACKAGE :GSL))
0] 3
;
; compilation unit aborted
; caught 1 fatal ERROR condition
* (quit)
Hi,
well I've managed to fix the problem by deleting init.fasl and directly editing init.lisp to point directly to the locally installed libgsl and libgslcblas.
All is working just lovely now.
Cheers,
Simon
Simon Holgate wrote:
Hello,
this is my first post to the list. I've tried the archives but not found an answer. Apologies if this has come up before.
I've successfully installed gsll previously under SBCL, with a system-wide SBCL install, and everything worked just fine.
On my current system I've had to install everything under my local user directory and SBCL (1.0.30) has been installed there too, compiled from source.
I've installed all the dependencies but I get a problem on compilation. I've pasted all the output below.
The issue seems to be with CFFI-GROVEL and I guess that it can't find libgsl. That is also installed locally under $HOME/lib and is exported in my LD_LIBRARY_PATH.
Is there some other way to point to libgsl or have I got the wrong end of the stick?
BTW when first compiling I also got an error (which isn't replicated below) about not being able to find "gsl_version" and something to do with a missing "ALIEN-..."?
The host system is SUSE (SLED 10).
Any help would be much appreciated.
Thanks,
Simon
Output from SBCL was:
- (require 'asdf)
("ASDF")
- (asdf:operate 'asdf:load-op :gsll)
; loading system definition from /login/simonh/.sbcl/systems/gsll.asd into
; #<PACKAGE "ASDF0">
; loading system definition from /login/simonh/.sbcl/systems/fsbv.asd into
; #<PACKAGE "ASDF1">
; loading system definition from /login/simonh/.sbcl/systems/cffi-grovel.asd
; into #<PACKAGE "ASDF2">
; registering #<SYSTEM CFFI-GROVEL {AD3DDD9}> as CFFI-GROVEL
; loading system definition from /login/simonh/.sbcl/systems/alexandria.asd
; into #<PACKAGE "ASDF2">
; registering #<SYSTEM :ALEXANDRIA {B18FCA1}> as ALEXANDRIA
; loading system definition from /login/simonh/.sbcl/systems/cffi.asd into
; #<PACKAGE "ASDF2">
; registering #<SYSTEM CFFI {B37BD09}> as CFFI
; loading system definition from /login/simonh/.sbcl/systems/babel.asd into
; #<PACKAGE "ASDF2">
; registering #<SYSTEM BABEL {B4E9BA9}> as BABEL
; loading system definition from
; /login/simonh/.sbcl/systems/trivial-features.asd into #<PACKAGE "ASDF2">
; registering #<SYSTEM TRIVIAL-FEATURES {AA30489}> as TRIVIAL-FEATURES
; registering #<SYSTEM :FSBV {AD0E019}> as FSBV
; registering #<SYSTEM "gsll" {AFA1949}> as gsll
; loading system definition from /login/simonh/.sbcl/systems/cl-utilities.asd
; into #<PACKAGE "ASDF0">
; registering #<SYSTEM CL-UTILITIES {B18FD31}> as CL-UTILITIES
; loading system definition from
; /login/simonh/.sbcl/systems/trivial-garbage.asd into #<PACKAGE "ASDF0">
; registering #<SYSTEM TRIVIAL-GARBAGE {A939841}> as TRIVIAL-GARBAGE
; registering #<SYSTEM TRIVIAL-GARBAGE-TESTS {AA79521}> as TRIVIAL-GARBAGE-TESTS
debugger invoked on a TYPE-ERROR in thread #<THREAD "initial thread" RUNNING {A9007A9}>: The value NIL is not of type PACKAGE.
Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [TRY-RECOMPILING] Try recompiling libgsl
1: [RETRY ] Retry performing #<ASDF:COMPILE-OP NIL {AFFFC71}> on #<CFFI-GROVEL:GROVEL-FILE "libgsl" {BAFB3D1}>.
2: [ACCEPT ] Continue, treating #<ASDF:COMPILE-OP NIL {AFFFC71}> on #<CFFI-GROVEL:GROVEL-FILE "libgsl" {BAFB3D1}> as having been successful.
3: [ABORT ] Exit debugger, returning to top level.
((LABELS CFFI-GROVEL::PROCESS-FORM) (IN-PACKAGE :GSL))
0] 0
debugger invoked on a TYPE-ERROR in thread #<THREAD "initial thread" RUNNING {A9007A9}>: The value NIL is not of type PACKAGE.
Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [TRY-RECOMPILING] Try recompiling libgsl
1: [RETRY ] Retry performing #<ASDF:COMPILE-OP NIL {AFFFC71}> on #<CFFI-GROVEL:GROVEL-FILE "libgsl" {BAFB3D1}>.
2: [ACCEPT ] Continue, treating #<ASDF:COMPILE-OP NIL {AFFFC71}> on #<CFFI-GROVEL:GROVEL-FILE "libgsl" {BAFB3D1}> as having been successful.
3: [ABORT ] Exit debugger, returning to top level.
((LABELS CFFI-GROVEL::PROCESS-FORM) (IN-PACKAGE :GSL))
0] 3
;
; compilation unit aborted
; caught 1 fatal ERROR condition
- (quit)