Hi Liam,<div><br></div><div>I'll try it out soon.  </div><div><br></div><div>This is (or was) a bug in clbuild (at least I believe it would be clbuild).</div><div><br></div><div>1) Install macports -- which by default is in /opt/local</div>

<div>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.)</div><div>

3) Run clbuild check.  It will complain that no sbcl has been found.</div><div>4) Now /opt/local has been removed.  The only way this can happen from the command line is by sudo rm -rf /opt/local.</div><div><br></div><div>

Thanks for all your help on this,</div><div><br></div><div>-Dave<br><br><div class="gmail_quote">On Mon, Aug 16, 2010 at 11:10 PM, Liam Healy <span dir="ltr"><<a href="mailto:lhealy@common-lisp.net">lhealy@common-lisp.net</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">OK I've committed a modified version of this patch.  I hope<br>
it works better for OS X.<br>
<br>
On Mon, Aug 16, 2010 at 11:15 AM, Leo <<a href="mailto:sdl.web@gmail.com">sdl.web@gmail.com</a>> wrote:<br>
> On 2010-08-16 15:51 +0100, David Dreisigmeyer wrote:<br>
>> I tried this -- no go, including using gsl-devel.  Also installed gsl from<br>
>> source and gsll still won't install.  I'm going to try with ccl now.<br>
><br>
> If you install gsl and have 'gsl-config' accessible from your terminal,<br>
> then gsll will try to find the install location using that tool.<br>
><br>
> I have found that I also need to apply the following patch for it to<br>
> work.<br>
><br>
> commit 024e7551bd9ee968b47ca1cb33e106090291c5f7<br>
> Date:   Sat Jul 3 13:32:51 2010 +0100<br>
><br>
>    Make gsl-config actually work on :DARWIN<br>
><br>
>        Modified init/init.lisp<br>
> diff --git a/init/init.lisp b/init/init.lisp<br>
> index 5c14ced..866f48f 100644<br>
> --- a/init/init.lisp<br>
> +++ b/init/init.lisp<br>
> @@ -31,6 +31,8 @@<br>
>    #:cl-array #:dimensions #:element-type #:dim0 #:dim1<br>
>    #:copy))<br>
><br>
> +(in-package :gsl)<br>
> +<br>
>  (eval-when (:compile-toplevel :load-toplevel :execute)<br>
>   (defun gsl-config (arg)<br>
>     "A wrapper for tool `gsl-config'."<br>
> @@ -41,8 +43,9 @@<br>
>       (read-line s))))<br>
><br>
>  (cffi:define-foreign-library libgslcblas<br>
> +  (:darwin #.(merge-pathnames "lib/libgslcblas.dylib"<br>
> +                              (pathname (concatenate 'string (gsl-config "--prefix") "/"))))<br>
>   (:unix (:or "libgslcblas.so.0" "libgslcblas.so"))<br>
> -  (:darwin "libgslcblas.dylib")<br>
>   (:cygwin "cyggslcblas-0.dll")<br>
>   (t (:default "libgslcblas")))<br>
><br>
> @@ -55,8 +58,9 @@<br>
>  (cffi:load-foreign-library "/lib/lapack/cygblas.dll")<br>
><br>
>  (cffi:define-foreign-library libgsl<br>
> +  (:darwin #.(merge-pathnames "lib/libgsl.dylib"<br>
> +                              (pathname (concatenate 'string (gsl-config "--prefix") "/"))))<br>
>   (:unix (:or "libgsl.so.0" "libgsl.so"))<br>
> -  (:darwin "libgsl.dylib")<br>
>   (:cygwin "cyggsl-0.dll")<br>
>   (t (:default "libgsl")))<br>
><br>
><br>
> Leo<br>
><br>
><br>
> _______________________________________________<br>
> Gsll-devel mailing list<br>
> <a href="mailto:Gsll-devel@common-lisp.net">Gsll-devel@common-lisp.net</a><br>
> <a href="http://common-lisp.net/cgi-bin/mailman/listinfo/gsll-devel" target="_blank">http://common-lisp.net/cgi-bin/mailman/listinfo/gsll-devel</a><br>
><br>
<br>
_______________________________________________<br>
Gsll-devel mailing list<br>
<a href="mailto:Gsll-devel@common-lisp.net">Gsll-devel@common-lisp.net</a><br>
<a href="http://common-lisp.net/cgi-bin/mailman/listinfo/gsll-devel" target="_blank">http://common-lisp.net/cgi-bin/mailman/listinfo/gsll-devel</a><br>
</blockquote></div><br></div>