[Pythonmac-SIG] Back-porting Python 2.3 to Mac OS X 10.5?
Brad Knowles
brad at shub-internet.org
Thu Apr 17 19:38:47 CEST 2008
Brad Knowles wrote:
> Well, ran into my first problem. Actually, it's the same one that was
> reported by "j47" in the thread at
> <http://www.nabble.com/python23-under-leopard-(intel-mac)-td14205076.html>.
Actually, the first clue was at the top of that page. If you configure with
"--disable-toolbox-glue", that will turn off the "-u __dummy" stuff:
| case "$enable_toolbox_glue" in
| yes)
| extra_frameworks="-framework CoreServices -framework Foundation"
| extra_machdep_objs="Python/mactoolboxglue.o"
| extra_undefs="-u __dummy -u _PyMac_Error"
However, the problem is that I don't know what else this might do.
I definitely don't want to disable Tcl/Tk, since that's a vital part of
Access Grid, and I'm going to be installing the Tcl/Tk Aqua stuff once I
finally get Python 2.3 installed.
And I have no idea what configuring with "--disable-framework" does, or
whether Access Grid needs that.
> So far, I'm following the build instructions given at
> <http://blogs.nuxeo.com/sections/blogs/florent_guillaume/2005_05_21_compiling_python_2_3_5>,
> and then I'm going to see if I can track down the problem alluded to at
> <http://www.nabble.com/Re%3A-python23-under-leopard-%28intel-mac%29-p15036304.html>.
As outlined at <http://bugs.python.org/issue1358>, if you configure with
"MACOSX_DEPLOYMENT_TARGET=10.5", that does seem to grab the right definition
for "SETPGRP_HAVE_ARG", but I don't know about the other items referenced on
<http://blogs.nuxeo.com/sections/blogs/florent_guillaume/2005_05_21_compiling_python_2_3_5>.
Any other advice would be appreciated.
--
Brad Knowles <brad at shub-internet.org>
LinkedIn Profile: <http://tinyurl.com/y8kpxu>
More information about the Pythonmac-SIG
mailing list