[Pythonmac-SIG] Building 2.5 on SL

Stephen Hansen apt.shansen at gmail.com
Wed Oct 7 06:00:26 CEST 2009


Hi all.
I'm trying to build a "private" instance of Python 2.5.4 on Snow Leopard,
and am running into a problem.

To get started, I'm doing:

Top:Python-2.5.4 shansen$ export CC=/usr/bin/gcc-4.0
Top:Python-2.5.4 shansen$ ./configure --enable-universalsdk
--enable-framework=/Library/APT/Frameworks

Basically, I need a framework install and such, but don't want to touch
anything in the system and don't want any other program to touch this
particular python. It needs to run on Tiger+, both intel and PPC
architectures. The configuration appears to be correct to me, as the gcc
commands seem to have all the arch's and the SDK right:

/usr/bin/gcc-4.0 -mmacosx-version-min=10.4 -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 -isysroot
/Developer/SDKs/MacOSX10.4u.sdk  -fno-strict-aliasing -Wno-long-double
-no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g  -O3 -Wall
-Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE  -c
./Modules/posixmodule.c -o Modules/posixmodule.o

Now the problem is, I get the attached error when compiling posixmodule.c.

I was idly curious, so downloaded 2.6.3... and ran into the exact same
problem. :/

Any ideas?

Thanks in advance.

--S
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20091006/c3657868/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makefail.log
Type: application/octet-stream
Size: 5172 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20091006/c3657868/attachment.obj>


More information about the Pythonmac-SIG mailing list