failed build with current mercurial sources

Ben Abbott bpabbott at mac.com
Wed Mar 19 14:26:18 CDT 2008


On Mar 19, 2008, at 3:20 PM, "John W. Eaton" <jwe at bevo.che.wisc.edu>  
wrote:

> On 19-Mar-2008, Ben Abbott wrote:
>
> | So if I configure using the options below, there will be no problem?
> |
> | ./configure '--prefix=/sw'  'FLIBS=/sw/lib/gcc4.3/lib/ 
> libgfortran.dylib' 'F77=/sw/bin/gfortran' '--infodir=${prefix}/share/ 
> info' '--mandir=${prefix}/share/man' '--libexecdir=${prefix}/lib' '- 
> enable-shared' '-enable-dl' '--disable-static' '--without-mpi' '-- 
> with-hdf5' '--with-fftw' 'CFLAGS=-g -O3' 'LDFLAGS=-g -L/sw/lib'  
> 'CPPFLAGS=-I/sw/include' 'CXXFLAGS=-g -O3' 'FFLAGS=-g -O3 -fbounds- 
> check -ff2c' --cache-file=/dev/null --srcdir=.
> |
> | Further, in this instance, the -ff2c is not needed?
> |
> | I still plan on trying the to configure using the patch discussed  
> earlier, but am also interested in building an operational octave ;-)
>
> Many of the options above are defaults, so you don't need to
> specify all of them.  For example, --with-hdf5, --with-fft2,
> -enable-shared, -enable-dl, --disable-static.  You shouldn't need to
> specify --srcdir.  The values of you set for --infodir, --mandir, and
> --cache-file look like the defaults.  The --without-mpi has no effect.
> So we are left with
>
>  ./configure '--prefix=/sw'
>  'FLIBS=/sw/lib/gcc4.3/lib/libgfortran.dylib' 'F77=/sw/bin/gfortran'
>  '--libexecdir=${prefix}/lib' 'CFLAGS=-g -O3' 'LDFLAGS=-g -L/sw/lib'
>  'CPPFLAGS=-I/sw/include' 'CXXFLAGS=-g -O3' 'FFLAGS=-g -O3
>  -fbounds-check -ff2c'
>
> This will still check for an installed BLAS/LAPACK library.  If that
> has been compiled such that it uses the f2c calling conventions, then
> I think it should work for you.
>
> jwe

How might I force the lapack/blas from libcruft to be used?

Ben


More information about the Bug-octave mailing list