[SciPy-user] scipy on Mac OSX

Lisa Tauxe ltauxe at ucsd.edu
Mon Jun 21 14:10:27 CDT 2004


I've been trying for a week now to compile scipy on a Panther machine.   
I have faithfully followed Chris Fonnesbeck's procedure but the scipy  
compilation chokes near the end every time.    The final messages are:

collect2: ld returned 1 exit status
/usr/bin/ld: Undefined symbols:
_PyArg_ParseTuple
_PyArg_ParseTupleAndKeywords
_PyCObject_AsVoidPtr
_PyCObject_Type
_PyComplex_Type
_PyDict_GetItemString
_PyDict_SetItemString
_PyErr_Clear
and a bunch more, then

restFP
saveFP
collect2: ld returned 1 exit status
error: Command "/usr/local/bin/g77 -lcc_dynamic -bundle  
build/temp.darwin-7.4.0-Power_Macintosh-2.3/build/src/Lib/fftpack/ 
_fftpackmodule.o  
build/temp.darwin-7.4.0-Power_Macintosh-2.3/Lib/fftpack/src/zfft.o  
build/temp.darwin-7.4.0-Power_Macintosh-2.3/Lib/fftpack/src/drfft.o  
build/temp.darwin-7.4.0-Power_Macintosh-2.3/Lib/fftpack/src/zrfft.o  
build/temp.darwin-7.4.0-Power_Macintosh-2.3/Lib/fftpack/src/zfftnd.o  
build/temp.darwin-7.4.0-Power_Macintosh-2.3/build/src/fortranobject.o  
-L/usr/local/lib -L/usr/local/lib/gcc/powerpc-apple-darwin7.2.0/3.4.0  
-Lbuild/temp.darwin-7.4.0-Power_Macintosh-2.3 -ldfftpack -lrfftw -lfftw  
-lg2c -o  
build/lib.darwin-7.4.0-Power_Macintosh-2.3/scipy/fftpack/_fftpack.so"  
failed with exit status 1

Any ideas?



Lisa Tauxe
Scripps Institution of Oceanography
La Jolla, CA 92093-0220
tel: (858) 534-6084
fax: (858) 534-0784
http://magician.ucsd.edu/~ltauxe/
ltauxe at ucsd.edu

NOTE: Fedex or other courier deliveries address:

300C Ritter Hall
8635 Discovery Way
La Jolla, CA 92037



More information about the SciPy-user mailing list