On Sun, Jun 29, 2008 at 2:50 AM, Ben Abbott <address@hidden> wrote:
Today I tried to configure the latest sources with the intent of
using the
Fink package manager on OSX. I'm concerned about the OpenGL part
(as I have
no experience with it).
I'd appreciate any comments respecting "the good, the bad, and the
ugly"
with regards the results of the configure process below.
Octave is now configured for i386-apple-darwin9.3.0
Source directory: .
Installation prefix: /sw
C compiler: gcc -mieee-fp -Wall -W -Wshadow -O3
-I/usr/X11R6/include
C++ compiler: g++ -mieee-fp -Wall -W -Wshadow -Wold-style-
cast -g
-O3
Fortran compiler: /sw/bin/gfortran -fbounds-check -ff2c -g -O3
-mieee-fp
Fortran libraries: /sw/lib/gcc4.3/lib/libgfortran.dylib
BLAS libraries:
-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
FFTW libraries: -lfftw3 -lfftw3f
GLPK libraries: -lglpk
UMFPACK libraries: -lumfpack
AMD libraries: -lamd
CAMD libraries: -lcamd
COLAMD libraries: -lcolamd
CCOLAMD libraries: -lccolamd
CHOLMOD libraries: -lcholmod
CXSPARSE libraries: -lcxsparse
HDF5 libraries: -lhdf5
CURL libraries: -lcurl
REGEX libraries: -L/sw/lib -lpcre
QHULL libraries: -lqhull
LIBS: -lreadline -lncurses
-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
-lhdf5 -lz -lm
Default pager: less
gnuplot: gnuplot
OPENGL libraries:
fltk backend libs: -L/sw/lib/fltk-aqua/lib -L/sw/lib -lfltk_gl
-framework AGL -framework OpenGL -lfltk -lpthread -framework Carbon
-framework ApplicationServices
Do internal array bounds checking: false
Build static libraries: false
Build shared libraries: true
Dynamic Linking: true (dyld)
Include support for GNU readline: true
64-bit array dims and indexing: false
configure: WARNING: A BLAS library was detected but found
incompatible with
your Fortran 77 compiler. The reference BLAS implementation will
be used.
To improve performance, consider using a different Fortran compiler
or a
switch like -ff2c to make your Fortran compiler use a calling
convention
compatible with the way your BLAS library was compiled, or use a
different
BLAS library.
configure:
Ben
I can't help much with the GL libraries (and I don't see what your
problem is, or if there is any), but your report reveals a bug in the
acx_lapack script: In case of missing or invalid BLAS (like in your
case), the check for LAPACK should be skipped entirely, and
LAPACK_LIBS should probably be nullified. I'll submit a patch for the
autoconf archive. By the way, does the warning about invalid BLAS
occur even if you omit the -ff2c option? If no, then you'll probably
want to turn it off.
If yes, then that's really weird (as it implies that the BLAS lib is
compatible with neither gfortran nor g77). I'd consider it a bug if a
system-provided library is incompatible with the default compiler. Or
is g77 the default? Perhaps this is a bug in OSX?