--with-blas/lapack being ignored

Ben Abbott bpabbott at mac.com
Tue Dec 4 20:07:03 CST 2007


Building under the Fink package manager for Mac OS X on Intel has been  
a problem recently.

Today I noticed that configure doesn't appear to handle the lapack/ 
blas option properly.

--------------------------------------
./configure '--prefix=/sw'  '--infodir=${prefix}/share/info' '--mandir= 
${prefix}/share/man' '--libexecdir=${prefix}/lib' '-enable-shared' '- 
enable-dl' '--disable-static' '--build=i386-apple-darwin' '--with- 
blas=/sw/lib/libatlas.a' '--with-lapack=/sw/lib/libatlas.a'  
'build_alias=i386-apple-darwin' 'CFLAGS=-O2' 'LDFLAGS=-L/sw/lib'  
'CPPFLAGS=-I/sw/include' 'CXXFLAGS=-O2' 'F77=/sw/bin/g95' 'FFLAGS=-O2 - 
funroll-loops -fomit-frame-pointer -malign-double -msse2' --cache- 
file=/dev/null --srcdir=.

[...]

Octave is now configured for i386-apple-darwin

   Source directory:     .
   Installation prefix:  /sw
   C compiler:           gcc  -mieee-fp  -Wall -W -Wshadow -O2
   C++ compiler:         g++  -mieee-fp  -Wall -W -Wshadow -Wold-style- 
cast -O2
   Fortran compiler:     /sw/bin/g95 -O2 -funroll-loops -fomit-frame- 
pointer -malign-double -msse2
   Fortran libraries:    -L/sw/bin/../lib/gcc-lib/i386-apple- 
darwin8/4.0.3 -lf95
   BLAS libraries:       /sw/lib/libatlas.a -Wl,-framework -Wl,vecLib
   FFTW libraries:       -lfftw3
   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:      -lpcre
   QHULL libraries:	-lqhull
   LIBS:                 -lreadline  -lncurses -lhdf5 -lz -lm
   Default pager:        less
   gnuplot:              gnuplot

   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
--------------------------------------

In specifically concerned about the line

   BLAS libraries:       /sw/lib/libatlas.a -Wl,-framework -Wl,vecLib

Is this a real bug, or did the configure script find something lacking  
and add the default blas library reference to the build?

Ben



More information about the Bug-octave mailing list