[Pythonmac-SIG] Building 2.4

Bob Ippolito bob at redivi.com
Thu Dec 2 16:11:33 CET 2004


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

 From the 2.4 source directory do the following:

env MACOSX_DEPLOYMENT_TARGET=10.3 ./configure --enable-framework
make
sudo make frameworkinstall

You probably want to add /usr/local/bin early on in your path if you 
haven't already, you may want to delete /usr/local/bin/python if you 
want python 2.3 to be "the default", because there is also a symlink 
named python2.4 that you could use.

-bob



More information about the Pythonmac-SIG mailing list