Admittingly I'm a bit hesitant to try out.
Cheers Christian
On Dec 8, 2004, at 1:06 AM, Robert Valsjö wrote:
How to upgrade Apples python installation in Mac OS X 10.3 from python 2.3 to 2.4_______________________________________________
* Download python sourde from http://www.python.org/ftp/python/2.4/Python-2.4.tgz
Save the source on ~/Desktop
>cd ~/Desktop
>tar zxvf Python-2.4.tgz
Download http://www.merzwaren.com/bin/waste/waste-21b1.sit Save it in ~/Desktop Unpack waste-21b1.sit and copy all contents to a folder called waste.
>cd ~/Desktop
You should now have one folder called Python-2.4 and one folder called waste on the desktop.
Now you must patch your Apple python installation:
>cd /System/Library/Frameworks/Python.framework/Versions/2.3/lib/ python2.3/config/
>emacs Makefile
Change in Makefile:
LDSHARED= $(CC) $(LDFLAGS) -bundle -framework $(PYTHONFRAMEWORK) BLDSHARED= $(CC) $(LDFLAGS) -bundle -framework $(PYTHONFRAMEWORK)
to
LDSHARED= env MACOSX_DEPLOYMENT_TARGET=10.3 $(CC) $(LDFLAGS) -bundle -undefined dynamic_lookup
BLDSHARED= env MACOSX_DEPLOYMENT_TARGET=10.3 $(CC) $(LDFLAGS) -bundle -undefined dynamic_lookup
Start building:
>cd ~/Desktop/Python-2.4 >MACOSX_DEPLOYMENT_TARGET=10.3 >export MACOSX_DEPLOYMENT_TARGET >env MACOSX_DEPLOYMENT_TARGET=10.3 ./configure --enable-framework >make >make frameworkinstall >make frameworkinstallextras
Change you PATH:
>emacs ~/.bashrc
Add:
PATH=/usr/local/bin:$PATH export PATH
This seems to work for me. Please let me know if something is missing.
Robert Valsjö Xtrafone www.xtrafone.com E-mail: [EMAIL PROTECTED] _______________________________________________ Pythonmac-SIG maillist - [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/pythonmac-sig
Pythonmac-SIG maillist - [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/pythonmac-sig