[Pythonmac-SIG] 2.5 -v- 2.6 conflicts on 10.5.x

kevin parks kp8 at mac.com
Fri Nov 20 15:38:40 CET 2009


I am trying to compile an audio package that imbeds python. One issue  
is that it apparently expect to find apple's built in python (i am on  
10.5.8 here no snowkitty yet) but I also have 2.6 installed. So when i  
do the

./configure --with-python
make
make install

and run a script this at the top i get:

import sys
print 'Python %s on %s (%s)' % (sys.version.split()[0],  
sys.platform.title(), sys.prefix)
for item in sys.path:
	print item

I get:

Python 2.6.2 on Darwin (/Library/Frameworks/Python.framework/Versions/ 
2.6)

ok so that is no good. If i do the
make clean
make distclean
./configure --with-python=/usr/local/bin/python2.5
make
make install

or even
./configure --with-python=/usr/bin/python


etc.... I *still* get:


Python 2.6.2 on Darwin (/Library/Frameworks/Python.framework/Versions/ 
2.6)


It seems like no matter what i do, when the binary is built, it is  
compiled around 2.6.
For those of you on 10.5 with the Apple and 2.6.x Python.... how do  
you point to one or the
other? And when you install 2.6 does it move stuff around or fiddle  
with your frameworks
or whatever? Folks who have 10.5.x and only the Apple supplied Python  
(2.5.x) are able to
build this right out of the box, plug and chug. Folks who have 2.6 and  
Apple's build can't seem
to compile this package correctly. Any thoughts at all?

The package is RTcmix (found @ RTcmix.org)



More information about the Pythonmac-SIG mailing list