[SciPy-user] SciPy Install failure: dfftpack not found

David Treadwell i.failed.turing.test at gmail.com
Wed Feb 22 11:16:17 CST 2006


Help, Please! SciPy installation is giving me fits. After a recent HD  
crash, I'm trying to reinstall my Python system.

Installing using he bash command in OS X 10.4.5

     Foo:~/Desktop/scipy-0.4.6 bar$ sudo python setup.py bdist_egg

proceeds just fine until it tries to compile the fftpack. The  
dfftpack can't be found, even tho the directory  ./Lib/fftpack/ 
dfftpack exists and contains the Fortran source files. See ERROR  
below. The same error occurs for

     Foo:~/Desktop/scipy-0.4.6 bar$ sudo python setup.py install

I've read and followed, I believe, the instructions from the  
Installation web page. The info for my Python system as it stands is  
given below. If there's any more diagnostic info needed, I'll be  
happy to pass it along.

I'd appreciate any help in solving this problem.

Thanks,

--David Treadwell


My Python system information:

*  ActivePython 2.4.2 Build 10 (ActiveState Corp.) based on Python  
2.4.2 (#1, Jan 17 2006, 17:03:20)

*  GCC 3.3 20030304 (Apple Computer, Inc. build 1666)

*  fftw2.1.5

* g77 installation:
         Reading specs from /usr/local/lib/gcc/powerpc-apple- 
darwin7.9.0/3.4.4/specs
         Configured with: ../gcc/configure --enable-threads=posix -- 
enable-languages=f77
         gcc version 3.4.4

*NumPy installation:
<module 'numpy' from '~/Library/Python2.4/site-packages/numpy-0.9.5- 
py2.4-macosx-10.4-ppc.egg/numpy/__init__.pyc'>

ERROR:
     /usr/bin/ld: can't locate file for: -ldfftpack
     collect2: ld returned 1 exit status
     /usr/bin/ld: can't locate file for: -ldfftpack
     collect2: ld returned 1 exit status
     error: Command "/usr/bin/g77 -undefined dynamic_lookup -bundle  
build/temp.darwin-8.5.0-Power_Macintosh-2.4/build/src/Lib/fftpack/ 
_fftpackmodule.o build/temp.darwin-8.5.0-Power_Macintosh-2.4/Lib/ 
fftpack/src/zfft.o build/temp.darwin-8.5.0-Power_Macintosh-2.4/Lib/ 
fftpack/src/drfft.o build/temp.darwin-8.5.0-Power_Macintosh-2.4/Lib/ 
fftpack/src/zrfft.o build/temp.darwin-8.5.0-Power_Macintosh-2.4/Lib/ 
fftpack/src/zfftnd.o build/temp.darwin-8.5.0-Power_Macintosh-2.4/ 
build/src/fortranobject.o -L/usr/local/lib -L/usr/local/lib/gcc/ 
powerpc-apple-darwin7.9.0/3.4.4 -Lbuild/temp.darwin-8.5.0- 
Power_Macintosh-2.4 -ldfftpack -lfftw3 -lg2c -lcc_dynamic -o build/ 
lib.darwin-8.5.0-Power_Macintosh-2.4/scipy/fftpack/_fftpack.so"  
failed with exit status 1




More information about the SciPy-user mailing list