[Pythonmac-SIG] python 2.3.4 on Mac OS X 10.3.6 is working - upgraded standard installation (original) (raw)
Robert Valsjö robert at xtrafone.com
Tue Nov 30 17:36:44 CET 2004
- Previous message: [Pythonmac-SIG] python 2.3.4 on Mac OS X 10.3.6 is working - upgraded standard installation
- Next message: [Pythonmac-SIG] python 2.3.4 on Mac OS X 10.3.6 is working - upgraded standard installation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Thanx!
Should I do this for python 2.4c1 also?
/rob
On 2004-11-30, at 17.13, Bob Ippolito wrote:
On Nov 30, 2004, at 4:04 AM, Robert Valsjö wrote:
I have one question though. I've read your info about patching the python 2.3.4 source Makefile, but since I'm not a c-programmer, can you please tell me what to do after I downloaded the python 2.3.4 source and untared it? Python installs its own compile time Makefile so that third party extensions can be compiled with the same options. The Makefile patching I have described is a patch intended to be done to this installed Makefile, NOT to the Python source code. If you want to patch the Python sources, you would ideally it do it configure.in, run autoconf, and then send a patch to http://sf.net/projects/python/ :) Anyway, to see where the Makefile is located, do: python -c "import sys,os; print os.path.join(sys.prefix, 'lib', 'python2.3', 'config', 'Makefile')" Once you know where this Makefile is, open it up with your favorite text editor (probably using sudo). Navigate to approximately line 98 and replace the two configuration variables LDSHARED and BLDSHARED with the following: LDSHARED= env MACOSXDEPLOYMENTTARGET=10.3 (CC)(CC) (CC)(LDFLAGS) -bundle -undefined dynamiclookup BLDSHARED= env MACOSXDEPLOYMENTTARGET=10.3 (CC)(CC) (CC)(LDFLAGS) -bundle -undefined dynamiclookup Save the file. -bob
Robert Valsjö Xtrafone www.xtrafone.com E-mail: robert at xtrafone.com
- Previous message: [Pythonmac-SIG] python 2.3.4 on Mac OS X 10.3.6 is working - upgraded standard installation
- Next message: [Pythonmac-SIG] python 2.3.4 on Mac OS X 10.3.6 is working - upgraded standard installation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]