Hi Liam, I'll try it out soon.
This is (or was) a bug in clbuild (at least I believe it would be clbuild). 1) Install macports -- which by default is in /opt/local 2) Now install ccl with macports (it goes into /opt/local). (This same situation may work with other ports installed, I didn't try that out. It doesn't happen if sbcl is installed with macports.) 3) Run clbuild check. It will complain that no sbcl has been found. 4) Now /opt/local has been removed. The only way this can happen from the command line is by sudo rm -rf /opt/local. Thanks for all your help on this, -Dave On Mon, Aug 16, 2010 at 11:10 PM, Liam Healy <lhe...@common-lisp.net> wrote: > OK I've committed a modified version of this patch. I hope > it works better for OS X. > > On Mon, Aug 16, 2010 at 11:15 AM, Leo <sdl....@gmail.com> wrote: > > On 2010-08-16 15:51 +0100, David Dreisigmeyer wrote: > >> I tried this -- no go, including using gsl-devel. Also installed gsl > from > >> source and gsll still won't install. I'm going to try with ccl now. > > > > If you install gsl and have 'gsl-config' accessible from your terminal, > > then gsll will try to find the install location using that tool. > > > > I have found that I also need to apply the following patch for it to > > work. > > > > commit 024e7551bd9ee968b47ca1cb33e106090291c5f7 > > Date: Sat Jul 3 13:32:51 2010 +0100 > > > > Make gsl-config actually work on :DARWIN > > > > Modified init/init.lisp > > diff --git a/init/init.lisp b/init/init.lisp > > index 5c14ced..866f48f 100644 > > --- a/init/init.lisp > > +++ b/init/init.lisp > > @@ -31,6 +31,8 @@ > > #:cl-array #:dimensions #:element-type #:dim0 #:dim1 > > #:copy)) > > > > +(in-package :gsl) > > + > > (eval-when (:compile-toplevel :load-toplevel :execute) > > (defun gsl-config (arg) > > "A wrapper for tool `gsl-config'." > > @@ -41,8 +43,9 @@ > > (read-line s)))) > > > > (cffi:define-foreign-library libgslcblas > > + (:darwin #.(merge-pathnames "lib/libgslcblas.dylib" > > + (pathname (concatenate 'string (gsl-config > "--prefix") "/")))) > > (:unix (:or "libgslcblas.so.0" "libgslcblas.so")) > > - (:darwin "libgslcblas.dylib") > > (:cygwin "cyggslcblas-0.dll") > > (t (:default "libgslcblas"))) > > > > @@ -55,8 +58,9 @@ > > (cffi:load-foreign-library "/lib/lapack/cygblas.dll") > > > > (cffi:define-foreign-library libgsl > > + (:darwin #.(merge-pathnames "lib/libgsl.dylib" > > + (pathname (concatenate 'string (gsl-config > "--prefix") "/")))) > > (:unix (:or "libgsl.so.0" "libgsl.so")) > > - (:darwin "libgsl.dylib") > > (:cygwin "cyggsl-0.dll") > > (t (:default "libgsl"))) > > > > > > Leo > > > > > > _______________________________________________ > > Gsll-devel mailing list > > Gsll-devel@common-lisp.net > > http://common-lisp.net/cgi-bin/mailman/listinfo/gsll-devel > > > > _______________________________________________ > Gsll-devel mailing list > Gsll-devel@common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/gsll-devel >
_______________________________________________ Gsll-devel mailing list Gsll-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/gsll-devel