Hello, I am having some problems in building GSLL on my system. I've decided to install it using clbuild, with sbcl 1.0.30 on a Mac OS X 10.5.8. I've installed GSL through macports (1.12) and it's working (compile some basic examples). I've also checked for the last versions of all the required libraries, specifically CFFI. However, every time I try to load GSLL it always gives the error pasted at the end of this message. I think it is related to the fact that it can't find the header files for GSL. If I directly compile a C file, I need to indicate the correct path: -I/opt/local/include -L/opt/local/lib. I have the impression that this is somehow missing on the automated build process of gsll but I am not sure where/how to correct it. Or it's simply an easy mistake on my part or something very obvious that I am missing... If someone could provide me some hints in how to install, build and use correctly gsll I would be very grateful. Best wishes, Jorge Output with the error messages: ; /Users/jast/devel/lisp/clbuild/source/gsll/init/init.fasl written ; compilation finished in 0:00:00.006 ; cc -m32 -I/Users/jast/devel/lisp/clbuild/source/cffi/ -fPIC -o / Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix /Users/jast/ devel/lisp/clbuild/source/gsll/init/libgsl-unix.c External process exited with code 1. Command was: "cc" "-m32" "-I/Users/jast/devel/lisp/clbuild/source/ cffi/" "-fPIC" "-o" "/Users/jast/devel/lisp/clbuild/source/gsll/init/ li..." "/Users/jast/devel/lisp/clbuild/source/gsll/init/li..." Output was: /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:6:33: error: gsl/gsl_integration.h: No such file or directory /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:7:27: error: gsl/gsl_eigen.h: No such file or directory /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:8:27: error: gsl/gsl_cblas.h: No such file or directory /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:9:27: error: gsl/gsl_odeiv.h: No such file or directory /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:10:32: error: gsl/gsl_ieee_utils.h: No such file or directory /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:11:26: error: gsl/gsl_mode.h: No such file or directory /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:12:27: error: gsl/gsl_errno.h: No such file or directory /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c: In function 'main': /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:29: error: 'GSL_INTEG_COSINE' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:29: error: (Each undeclared identifier is reported only once /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:29: error: for each function it appears in.) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:34: error: 'GSL_INTEG_SINE' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:45: error: 'GSL_INTEG_GAUSS15' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:50: error: 'GSL_INTEG_GAUSS21' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:55: error: 'GSL_INTEG_GAUSS31' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:60: error: 'GSL_INTEG_GAUSS41' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:65: error: 'GSL_INTEG_GAUSS51' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:70: error: 'GSL_INTEG_GAUSS61' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:81: error: 'GSL_EIGEN_SORT_VAL_ASC' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:86: error: 'GSL_EIGEN_SORT_VAL_DESC' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:91: error: 'GSL_EIGEN_SORT_ABS_ASC' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:96: error: 'GSL_EIGEN_SORT_ABS_DESC' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:107: error: 'CblasNoTrans' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:112: error: 'CblasTrans' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:117: error: 'CblasConjTrans' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:128: error: 'CblasUpper' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:133: error: 'CblasLower' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:144: error: 'CblasNonUnit' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:149: error: 'CblasUnit' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:160: error: 'CblasLeft' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:165: error: 'CblasRight' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:176: error: 'GSL_ODEIV_HADJ_DEC' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:181: error: 'GSL_ODEIV_HADJ_NIL' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:186: error: 'GSL_ODEIV_HADJ_INC' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:197: error: 'GSL_IEEE_TYPE_NAN' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:202: error: 'GSL_IEEE_TYPE_INF' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:207: error: 'GSL_IEEE_TYPE_NORMAL' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:212: error: 'GSL_IEEE_TYPE_DENORMAL' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:217: error: 'GSL_IEEE_TYPE_ZERO' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:228: error: 'GSL_IEEE_SINGLE_PRECISION' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:233: error: 'GSL_IEEE_DOUBLE_PRECISION' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:238: error: 'GSL_IEEE_EXTENDED_PRECISION' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:249: error: 'GSL_IEEE_ROUND_TO_NEAREST' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:254: error: 'GSL_IEEE_ROUND_DOWN' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:259: error: 'GSL_IEEE_ROUND_UP' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:264: error: 'GSL_IEEE_ROUND_TO_ZERO' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:275: error: 'GSL_IEEE_MASK_INVALID' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:280: error: 'GSL_IEEE_MASK_DENORMALIZED' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:285: error: 'GSL_IEEE_MASK_DIVISION_BY_ZERO' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:290: error: 'GSL_IEEE_MASK_OVERFLOW' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:295: error: 'GSL_IEEE_MASK_UNDERFLOW' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:300: error: 'GSL_IEEE_MASK_ALL' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:305: error: 'GSL_IEEE_TRAP_INEXACT' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:316: error: 'GSL_PREC_DOUBLE' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:321: error: 'GSL_PREC_SINGLE' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:326: error: 'GSL_PREC_APPROX' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:337: error: 'GSL_CONTINUE' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:342: error: 'GSL_FAILURE' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:347: error: 'GSL_SUCCESS' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:352: error: 'GSL_EDOM' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:357: error: 'GSL_ERANGE' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:362: error: 'GSL_EFAULT' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:367: error: 'GSL_EINVAL' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:372: error: 'GSL_EFAILED' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:377: error: 'GSL_EFACTOR' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:382: error: 'GSL_ESANITY' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:387: error: 'GSL_ENOMEM' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:392: error: 'GSL_EBADFUNC' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:397: error: 'GSL_ERUNAWAY' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:402: error: 'GSL_EMAXITER' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:407: error: 'GSL_EZERODIV' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:412: error: 'GSL_EBADTOL' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:417: error: 'GSL_ETOL' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:422: error: 'GSL_EUNDRFLW' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:427: error: 'GSL_EOVRFLW' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:432: error: 'GSL_ELOSS' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:437: error: 'GSL_EROUND' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:442: error: 'GSL_EBADLEN' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:447: error: 'GSL_ENOTSQR' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:452: error: 'GSL_ESING' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:457: error: 'GSL_EDIVERGE' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:462: error: 'GSL_EUNSUP' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:467: error: 'GSL_EUNIMPL' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:472: error: 'GSL_ECACHE' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:477: error: 'GSL_ETABLE' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:482: error: 'GSL_ENOPROG' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:487: error: 'GSL_ENOPROGJ' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:492: error: 'GSL_ETOLF' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:497: error: 'GSL_ETOLX' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:502: error: 'GSL_ETOLG' undeclared (first use in this function) /Users/jast/devel/lisp/clbuild/source/gsll/init/libgsl-unix.c:507: error: 'GSL_EOF' undeclared (first use in this function) [Condition of type SIMPLE-ERROR] Restarts: 0: [TRY-RECOMPILING] Try recompiling libgsl 1: [RETRY] Retry performing #<ASDF:COMPILE-OP NIL {12F3FFC9}> on #<CFFI-GROVEL:GROVEL-FILE "libgsl" {12EF6CD1}>. 2: [ACCEPT] Continue, treating #<ASDF:COMPILE-OP NIL {12F3FFC9}> on #<CFFI-GROVEL:GROVEL-FILE "libgsl" {12EF6CD1}> as having been successful. 3: [RETRY] Retry SLIME REPL evaluation request. 4: [ABORT] Return to SLIME's top level. 5: [ABORT] Exit debugger, returning to top level. Backtrace: 0: (CFFI-GROVEL::INVOKE "cc")[:EXTERNAL] 1: ((LAMBDA ())) 2: (SB-IMPL::%WITH-STANDARD-IO-SYNTAX #<CLOSURE (LAMBDA #) {13953B95}>) 3: ((SB-PCL::FAST-METHOD ASDF:PERFORM (ASDF:COMPILE-OP CFFI- GROVEL:GROVEL-FILE)) ..) 4: ((LAMBDA (SB-PCL::.PV. SB-PCL::.NEXT-METHOD-CALL. SB-PCL::.ARG0. SB- PCL::.ARG1.)) ..) 5: ((SB-PCL::FAST-METHOD ASDF:PERFORM :AROUND (ASDF:COMPILE-OP CFFI- GROVEL::CC-FLAGS-MIXIN)) ..) 6: ((SB-PCL::FAST-METHOD ASDF:PERFORM ASDF:AROUND (ASDF:COMPILE-OP ASDF:CL-SOURCE-FILE)) ..) 7: ((LAMBDA ())) 8: ((FLET SB-THREAD::WITH-RECURSIVE-LOCK-THUNK)) 9: (SB-C::%WITH-COMPILATION-UNIT #<CLOSURE (LAMBDA #) {13837E65}>) [:EXTERNAL] 10: (ASDF:OPERATE ASDF:LOAD-OP :GSLL)[:EXTERNAL] 11: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ASDF:OPERATE 'ASDF:LOAD-OP :GSLL) #<NULL-LEXENV>) --more--