[SciPy-user] Scipy on Python 2.5 / OS X 10.4.8

Niklas Saers niklassaers@gmail....
Fri Feb 16 04:15:35 CST 2007


Hi guys,
has anyone successfully compiled Scipy for Python 2.5 under Mac OS X  
10.4.8? I notice that the binaries on the webpage only support up to  
Python 2.4 so I would like to build them. However, running "python  
setup.py build" I get:

g95 -L/sw/lib build/temp.macosx-10.3-fat-2.5/build/src.macosx-10.3- 
fat-2.5/Lib/fftpack/_fftpackmodule.o build/temp.macosx-10.3-fat-2.5/ 
Lib/fftpack/src/zfft.o build/temp.macosx-10.3-fat-2.5/Lib/fftpack/src/ 
drfft.o build/temp.macosx-10.3-fat-2.5/Lib/fftpack/src/zrfft.o build/ 
temp.macosx-10.3-fat-2.5/Lib/fftpack/src/zfftnd.o build/ 
temp.macosx-10.3-fat-2.5/build/src.macosx-10.3-fat-2.5/ 
fortranobject.o -Lbuild/temp.macosx-10.3-fat-2.5 -ldfftpack -o build/ 
lib.macosx-10.3-fat-2.5/scipy/fftpack/_fftpack.so
/sw/lib/odcctools590/bin/ld: Undefined symbols:
_PyArg_ParseTupleAndKeywords
_PyCObject_AsVoidPtr
_PyCObject_Type
_PyComplex_Type
_PyDict_SetItemString
_PyErr_Clear
_PyErr_Format
_PyErr_NewException
_PyErr_Occurred
_PyErr_Print
_PyErr_SetString
_PyExc_ImportError
_PyExc_RuntimeError
_PyImport_ImportModule
_PyInt_Type
_PyModule_GetDict
_PyNumber_Int
_PyObject_GetAttrString
_PySequence_Check
_PySequence_GetItem
_PyString_FromString
_PyString_Type
_PyType_IsSubtype
_PyType_Type
_Py_BuildValue
_Py_InitModule4
__Py_NoneStruct
_PyCObject_FromVoidPtr
_PyDict_DelItemString
_PyDict_GetItemString
_PyDict_New
_PyExc_AttributeError
_PyExc_TypeError
_PyExc_ValueError
_PyMem_Free
_PyObject_Str
_PyObject_Type
_PyString_AsString
_PyString_ConcatAndDel
_Py_FindMethod
__PyObject_New
_MAIN_
/sw/lib/odcctools590/bin/ld: Undefined symbols:
_PyArg_ParseTupleAndKeywords
_PyCObject_AsVoidPtr
_PyCObject_Type
_PyComplex_Type
_PyDict_SetItemString
_PyErr_Clear
_PyErr_Format
_PyErr_NewException
_PyErr_Occurred
_PyErr_Print
_PyErr_SetString
_PyExc_ImportError
_PyExc_RuntimeError
_PyImport_ImportModule
_PyInt_Type
_PyModule_GetDict
_PyNumber_Int
_PyObject_GetAttrString
_PySequence_Check
_PySequence_GetItem
_PyString_FromString
_PyString_Type
_PyType_IsSubtype
_PyType_Type
_Py_BuildValue
_Py_InitModule4
__Py_NoneStruct
_PyCObject_FromVoidPtr
_PyDict_DelItemString
_PyDict_GetItemString
_PyDict_New
_PyExc_AttributeError
_PyExc_TypeError
_PyExc_ValueError
_PyMem_Free
_PyObject_Str
_PyObject_Type
_PyString_AsString
_PyString_ConcatAndDel
_Py_FindMethod
__PyObject_New
_MAIN_
error: Command "g95 -L/sw/lib build/temp.macosx-10.3-fat-2.5/build/ 
src.macosx-10.3-fat-2.5/Lib/fftpack/_fftpackmodule.o build/ 
temp.macosx-10.3-fat-2.5/Lib/fftpack/src/zfft.o build/ 
temp.macosx-10.3-fat-2.5/Lib/fftpack/src/drfft.o build/ 
temp.macosx-10.3-fat-2.5/Lib/fftpack/src/zrfft.o build/ 
temp.macosx-10.3-fat-2.5/Lib/fftpack/src/zfftnd.o build/ 
temp.macosx-10.3-fat-2.5/build/src.macosx-10.3-fat-2.5/ 
fortranobject.o -Lbuild/temp.macosx-10.3-fat-2.5 -ldfftpack -o build/ 
lib.macosx-10.3-fat-2.5/scipy/fftpack/_fftpack.so" failed with exit  
status 1

I have no idea of why it sais 10.3 rather than 10.4, but perhaps this  
is not the OS version? I use FFTW 2.1.5 after the website recommended  
the 2.1 branch for performance over 3.0 and I'm going to be using  
FFTs a lot

Could anyone help me out? :-)

Cheers


	Nik


More information about the SciPy-user mailing list