[Pythonmac-SIG] How to build a 4-ways universal Python 2.6 on MacOS X 10.5.5/XCode 3.1.1?

Hubert Holin Hubert.Holin at lmd.polytechnique.fr
Tue Oct 7 15:00:01 CEST 2008


Somewhere in the E.U., le 07/10/2008

	Bonjour

		I am having some difficulty building  a 4-ways universal Python 2.6  
on MacOS X 10.5.5/XCode 3.1.1. The hardware I am attempting the build  
on is an aging twin-G5 (a 64-bits architecture)...

		I am aware of the incompatibility of Tcl/Tk with 64-bits  
architectures, which is not an issue for me (I nonetheless installed  
the latest ActiveState build, and changed setup.py to first look in / 
Library/Frameworks/).

		When I invoke configure thus:

./configure --enable-framework --enable-universalsdk --with-universal- 
archs="all" --with-cxx-main=gcc-4.2

the operation is a failure (no Makefile is generated) because  
configure reports it can't figure out the size of an "int". Removing  
the --with-universal-archs="all" option does result in a Makefile  
being produced but only for 32-bits architectures. Note that I had to  
add the --with-cxx-main=gcc-4.2 option as otherwise gcc-4.0 was  
selected.

		What I have googled so far hints at problems in building what I am  
after, but it is unclear if these have been overcome. What am I missing?

	Merci

Hubert Holin



More information about the Pythonmac-SIG mailing list