[SciPy-user] Scipy-0.6.0 fails to build on MacOS 10.4.10 with gfortran (gcc4.2.2)

David Cournapeau david@ar.media.kyoto-u.ac...
Thu Nov 15 01:36:50 CST 2007


Robert Kern wrote:
> Sebastien Maret wrote:
>> Hello,
>>
>> The error log is below:
>>
>> /sw/bin/gfortran -Wall -L/sw/lib build/temp.macosx-10.4-i386-2.5/build/src.macosx-10.4-i386-2.5/scipy/fftpack/_fftpackmodule.o build/temp.macosx-10.4-i386-2.5/scipy/fftpack/src/zfft.o build/temp.macosx-10.4-i386-2.5/scipy/fftpack/src/drfft.o build/temp.macosx-10.4-i386-2.5/scipy/fftpack/src/zrfft.o build/temp.macosx-10.4-i386-2.5/scipy/fftpack/src/zfftnd.o build/temp.macosx-10.4-i386-2.5/build/src.macosx-10.4-i386-2.5/fortranobject.o /sw/lib/djbfft.a -L/sw/lib -L/sw/lib/gcc4.2/lib/gcc/i686-apple-darwin8/4.2.2 -Lbuild/temp.macosx-10.4-i386-2.5 -ldfftpack -lfftw3 -lgfortran -o build/lib.macosx-10.4-i386-2.5/scipy/fftpack/_fftpack.so
>
> Don't use the LDFLAGS environment variable. This overwrites the link options,
> including the ones which provide the libpython2.5 library.
I was wondering, since this is causing so much trouble, wouldn't it be 
easier to just emit a warning when LDFLAGS or CFLAGS is used, and 
disable it ?

David



More information about the SciPy-user mailing list