Here's something interesting:<div><br></div><div>1) Install macports</div><div>2) Install ccl</div><div>3) Run clbuild check</div><div>4) /opt/local is now gone<br><br><div class="gmail_quote">On Mon, Aug 16, 2010 at 11:15 AM, Leo <span dir="ltr"><<a href="mailto:sdl.web@gmail.com">sdl.web@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">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>
</div>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>
<font color="#888888"><br>
<br>
Leo<br>
</font><div><div></div><div class="h5"><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>
</div></div></blockquote></div><br></div>