[SciPy-user] building scipy from source on Mac Os X 10.4 ppc

Samuel M. Smith smithsm at samuelsmith.org
Thu Aug 16 13:28:13 EDT 2007


When building from source on mac os x 10.4 ppc
either from the tarball 0.5.2 or svn, I get the following error,

after installing gfortran and fftw as per the scipy web instructions

svn co http://svn.scipy.org/svn/scipy/trunk scipysvn
cd scipysvn
export MACOSX_DEPLOYMENT_TARGET=10.4
sudo python setup.py build_src build_clib --fcompiler=gnu95 build_ext  
--fcompiler=gnu95 build

snip.....

/usr/bin/ld: flag: -undefined dynamic_lookup can't be used with  
MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1
collect2: ld returned 1 exit status
error: Command "/usr/local/bin/gfortran -Wall -undefined  
dynamic_lookup -bundle build/temp.macosx-10.4-ppc-2.5/build/ 
src.macosx-10.4-ppc-2.5/Lib/fftpack/_fftpackmodule.o build/ 
temp.macosx-10.4-ppc-2.5/Lib/fftpack/src/zfft.o build/ 
temp.macosx-10.4-ppc-2.5/Lib/fftpack/src/drfft.o build/ 
temp.macosx-10.4-ppc-2.5/Lib/fftpack/src/zrfft.o build/ 
temp.macosx-10.4-ppc-2.5/Lib/fftpack/src/zfftnd.o build/ 
temp.macosx-10.4-ppc-2.5/build/src.macosx-10.4-ppc-2.5/ 
fortranobject.o -L/usr/local/lib -L/usr/local/lib/gcc/powerpc-apple- 
darwin8.9.0/4.3.0 -Lbuild/temp.macosx-10.4-ppc-2.5 -ldfftpack -lfftw3  
-lgfortran -o build/lib.macosx-10.4-ppc-2.5/scipy/fftpack/ 
_fftpack.so" failed with exit status 1

Looking in the archives on scipy.org I found a couple of other people  
who had this problem in June but there was
not mentioned a fix.

anyone have a fix for this?

Sam


**********************************************************************
Samuel M. Smith Ph.D.
2966 Fort Hill Road
Eagle Mountain, Utah 84005-4108
801-768-2768 voice
801-768-2769 fax
**********************************************************************
"The greatest source of failure and unhappiness in the world is
giving up what we want most for what we want at the moment"
**********************************************************************


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20070816/0b6c95e3/attachment.html>


More information about the SciPy-User mailing list