octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Install status on Mac OS X 10.6.2


From: Joel LeBlanc
Subject: Re: Install status on Mac OS X 10.6.2
Date: Mon, 11 Jan 2010 16:16:40 -0500

Fink is currently working for me, but I had to tell the configure a lot of stuff.  It looks something like this

export blas='--with-lapack=-Wl,-framework,Accelerate,-dylib_file,/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib:/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib --with-blas=-Wl,-framework,Accelerate,-dylib_file,/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib:/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib'

# Use newer glibtool from fink
export LIBTOOL='glibtool'

# Autogen
./autogen.sh

# Similar to Fink's configure
./configure --prefix=/sw FLIBS=/sw/lib/gcc4.4/lib/libgfortran.dylib F77=/sw/bin/gfortran CC=gcc-4 CPP=cpp-4 CXX=g++-4 --infodir='${prefix}/share/info' --mandir='${prefix}/share/man' --libexecdir='${prefix}/lib' -enable-shared -enable-dl --disable-static --without-mpi --with-hdf5 --with-fftw --without-framework-carbon --without-framework-opengl CPPFLAGS="-I/sw/include -I/sw/include/freetype2 -I/sw/lib/flex/include" FFLAGS="-ff2c" LDFLAGS="-L/sw/lib/fltk-aqua/lib -L/sw/lib/flex/lib -L/sw/lib/gcc4.4/lib/ -L/sw/lib -lgfortran -lGraphicsMagick -lfltk_gl -lfltk -lpthread" $blas

make clean
make all
make check

As you can see, I had to tell configure where a lot of things are.  I guess, by "use it" it meant that the build process would see that OSX is involved, point to Apple's blas stuff by default, and if fink is detected (/sw/ by default) would try to find the things it needs.  Or maybe it just sees fink and tells you what packages it is expecting.

If you were uncertain of my inexperience in such matters, I'm sure that bit of optimistic thinking just cleared things up  : D

~Joel

On Mon, Jan 11, 2010 at 2:59 PM, John W. Eaton <address@hidden> wrote:
On 11-Jan-2010, Joel LeBlanc wrote:

| It would be nice if octave's build system was "aware" of fink, and
| tried to use it.

What do you mean by '"aware" of fink'?  How would the build system
"use it"?

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]