failed build with current mercurial sources

Ben Abbott bpabbott at mac.com
Wed Mar 19 22:14:21 CDT 2008


On Mar 19, 2008, at 9:29 PM, Ben Abbott wrote:

>
> On Mar 19, 2008, at 3:39 PM, John W. Eaton wrote:
>
>> On 19-Mar-2008, Ben Abbott wrote:
>>
>> | How might I force the lapack/blas from libcruft to be used?
>>
>> If you use the options
>>
>> --without-blas --without-lapack
>>
>> then Octave won't search for installed BLAS and LAPACK libraries and
>> will instead use the reference BLAS and LAPACK library sources
>> included with Octave.
>>
>> jwe
>
> ok, my build completed and all tests passed. I configured using
>
> ./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' '--without-
> blas' '--without-lapack'
>
> Looks Iike I'm a good candidate for testing a patch to check for
> compatible BLAS ZDOTC/ZDOTU.
>
> John/Jaroslav has a patched been settled on?
>
> Ben

I've now also been successful using the same configure options that  
Fink uses. Specifically,

./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' '--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'

Ben



More information about the Bug-octave mailing list