Re: matlisp on Mac OS X (Intel)

Enphilistor <[email protected]> Fri, 20 Apr 2007 15:22:09 -0500
Newsgroups gmane.lisp.matlisp.user
Message-ID <[email protected]>
Jan,

I'm trying to get things working with Mac OS X on intel as well.  I  
am also using the g77, gfortran, and gcc from the Mac HPC page on  
sourceforge.  I've noticed that the default distribution from cvs  
seems to have been built assuming that folks would be using Fink.   
I'm definitely not and that's what's causing the link to fail for  
me.  I've found that if you'll edit configure.in, search for "-L/sw/ 
lib" down under the case for darwin you'll find some rules that  
pertain to the problem at hand.  If you'll replace the line that says:

	FLIBS="-L/sw/lib -lf2c -lSystem /usr/lib/bundle1.o"

with

	FLIBS="-lSystem /usr/lib/bundle1.o"

and then save the file and run "autoconf configure.in > configure"  
and then ./configure as usual, and then make, you should get through  
the link.  This is about as far as I've gotten so far.  Which lisp  
are you using?  I'm using SBCL.

Good luck!

-- E


On Apr 20, 2007, at 4:50 AM, Jan Rychter wrote:

> Does anyone use matlisp on Mac OS X on an Intel CPU? If so, which
> fortran compiler did you use? Which exact version and where did you  
> get
> it?
>
> I can't seem to get through the linking phase for BLAS/LAPACK. I tried
> gfortran from the gcc 4.3 package from http://hpc.sourceforge.net/,  
> and
> now tried g77 from GNU Fortran (GCC) 3.4.0. They work fine until ld  
> gets
> invoked and then things break. One reason for the breakage is that
> configure insists on trying to link in crt1.o into libraries, which
> won't work, but even removing that doesn't get me anywhere.
>
> Since some people reported being able to get it to work with minor
> adjustments, there must be something I'm doing wrong.
>
> Any hints?
>
> --J.
>
>
> ---------------------------------------------------------------------- 
> ---
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Matlisp-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matlisp-users


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/