[Pythonmac-SIG] Building MacPy 2.3.4 for Jaguar

Bob Ippolito bob at redivi.com
Thu Aug 12 06:20:51 CEST 2004


On Aug 12, 2004, at 12:07 AM, Tom Loredo wrote:

> 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
> ....
> -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
...
> Any advice on how to fix this (is a library path missing?) would be
> appreciated.  Perhaps it's a hint regarding my other problems.

Maybe you have a strange locale set that magically causes the regexp 
problem?

The build problem is due to a missing -framework Python on that g77 
commandline.  Hopefully that build of g77 support's -framework.

Perhaps you should just upgrade to Panther like the rest of us have and 
save yourself some trouble :)

-bob


More information about the Pythonmac-SIG mailing list