[Pythonmac-SIG] Building 2.4 (original) (raw)
Samuel M.Smith smithsm at samuelsmith.org
Fri Dec 3 16:55:29 CET 2004
- Previous message: [Pythonmac-SIG] Building 2.4
- Next message: [Pythonmac-SIG] Building 2.4
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Dec 2, 2004, at 08:11, Bob Ippolito wrote:
On Dec 2, 2004, at 10:00, Samuel M.Smith wrote:
Would anyone care to post step by step instructions for building a framework version of Python 2.4 that will peacefully cohabitate with the built in OS X Python 2.3.
Does it build out of the box from the source? Patch your config/Makefile of your existing Python 2.3.0 installation (see a recent email of mine on the subject) Fetch 2.4 sources
Is this the patch you mean?
The correct linker settings are not adopted by any mainline version of Python 2.3. I had thought they were in 2.3.4, but they're not. Only Python 2.4 builds correctly by default. Also, Apple's build of Python 2.3.3 in the WWDC 2004 preview <http://www.opensource.apple.com/darwinsource/WWDC2004/python-11/> adopts a similar method to this patch, but slightly modified so that it does not depend on MACOSXDEPLOYMENTTARGET being set:
(this is what a good /System/Library/Frameworks/Python.framework/Versions/2.3/lib/ python2.3/config/Makefile should look like, starting on or around line 98) LDSHARED= env MACOSXDEPLOYMENTTARGET=10.3 (CC)(CC) (CC)(LDFLAGS) -bundle -undefined dynamiclookup BLDSHARED= env MACOSXDEPLOYMENTTARGET=10.3 (CC)(CC) (CC)(LDFLAGS) -bundle -undefined dynamiclookup
Sam
- Previous message: [Pythonmac-SIG] Building 2.4
- Next message: [Pythonmac-SIG] Building 2.4
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]