[Pythonmac-SIG] Building 2.4
Bob Ippolito
bob at redivi.com
Thu Dec 2 19:41:51 CET 2004
On Dec 2, 2004, at 12:50 PM, David Reed wrote:
> On Dec 2, 2004, at 10:11 AM, 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
>>
>> 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.
>
> Can anyone explain or point me to something to read about the
> benefits/trade-offs of using the framework version (I'm a long time
> Linux/Solaris user, but new to OS X) vs. just a regular compilation?
It's supported by the people who know most about Python on Mac OS X,
and it's the same type of install that Apple provides. Technically,
the difference is mostly where the files go. It's a heck of a lot
easier to move or remove a framework installation, or to naively embed
Python into an application bundle.
A normal install probably works too, but I have no need for one and
thus haven't tested it in a long time. If you have problems with it,
you're probably not going to get any help from me.
-bob
More information about the Pythonmac-SIG
mailing list