[Pythonmac-SIG] Building MacPy 2.3.4 for Jaguar
Tom Loredo
loredo at astro.cornell.edu
Thu Aug 12 06:07:31 CEST 2004
Bob-
Thanks for the tip about pbxbuild. It turns out in Mac/OSX/Makefile,
there's a symbol PBXBUILD that is defined as 'xcodebuild' but with a
comment noting for Jaguar it should be 'pbxbuild'. That change let
the build complete. Perhaps someone with CVS priveleges can change
Mac/OSX/README to note that Jaguar users must make this change.
Unfortunately, 2.3.4 did not fix my regexp problem, so I don't know
what's going on with that. Following a tip from the scipy folks, I
changed from re to pre and the scipy build proceeds mostly okay after
that, until building _fftpack.so when I get this ld error, indicating
ld cannot find Python symbols:
-------
gcc: build/src/fortranobject.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning: as it has already been specified as a non-system directory
/usr/local/bin/g77 -lcc_dynamic -bundle
build/temp.darwin-6.8-Power_Macintosh-2.3/build/src/Lib/fftpack/
_fftpackmodule.o
build/temp.darwin-6.8-Power_Macintosh-2.3/Lib/fftpack/src/zfft.o
build/temp.darwin-6.8-Power_Macintosh-2.3/Lib/fftpack/src/drfft.o
build/temp.darwin-6.8-Power_Macintosh-2.3/Lib/fftpack/src/zrfft.o
build/temp.darwin-6.8-Power_Macintosh-2.3/Lib/fftpack/src/zfftnd.o
build/temp.darwin-6.8-Power_Macintosh-2.3/build/src/fortranobject.o
-L/usr/local/lib -L/usr/local/lib/gcc/powerpc-apple-darwin6.8/3.4.0
-Lbuild/temp.darwin-6.8-Power_Macintosh-2.3 -ldfftpack -lrfftw -lfftw
-lg2c -o
build/lib.darwin-6.8-Power_Macintosh-2.3/scipy/fftpack/_fftpack.so
/usr/bin/ld: Undefined symbols:
_PyArg_ParseTuple
_PyArg_ParseTupleAndKeywords
_PyCObject_AsVoidPtr
_PyCObject_Type
_PyComplex_Type
_PyDict_GetItemString
_PyDict_SetItemString
_PyErr_Clear
[snip]
_Py_FindMethod
__PyObject_New
restFP
saveFP
collect2: ld returned 1 exit status
error: Command "/usr/local/bin/g77 -lcc_dynamic -bundle
build/temp.darwin-6.8-Power_Macintosh-2.3/build/src/Lib/fftpack/
_fftpackmodule.o
build/temp.darwin-6.8-Power_Macintosh-2.3/Lib/fftpack/src/zfft.o
build/temp.darwin-6.8-Power_Macintosh-2.3/Lib/fftpack/src/drfft.o
build/temp.darwin-6.8-Power_Macintosh-2.3/Lib/fftpack/src/zrfft.o
build/temp.darwin-6.8-Power_Macintosh-2.3/Lib/fftpack/src/zfftnd.o
build/temp.darwin-6.8-Power_Macintosh-2.3/build/src/fortranobject.o
-L/usr/local/lib -L/usr/local/lib/gcc/powerpc-apple-darwin6.8/3.4.0
-Lbuild/temp.darwin-6.8-Power_Macintosh-2.3 -ldfftpack -lrfftw -lfftw
-lg2c -o
build/lib.darwin-6.8-Power_Macintosh-2.3/scipy/fftpack/_fftpack.so" failed
with exit status 1
--------
Any advice on how to fix this (is a library path missing?) would be
appreciated. Perhaps it's a hint regarding my other problems.
-Tom
More information about the Pythonmac-SIG
mailing list