kevin parks wrote:
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)
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)
the system python is in /System/Library/Frameworks/....
So you may want to put some version of that path into your --with-python
configure flag. /usr/bin/python is a symlink.
For those of you on 10.5 with the Apple and 2.6.x Python.... how do you
point to one or the
other?
I think this really depends on how the configure script was written --
so I'd ask on that list. If it needs a particular version, it appears to
be pretty poorly written! I don't know squat about autoconf, so I can't
help there.
And when you install 2.6 does it move stuff around or fiddle with
your frameworks
or whatever?
no -- all it does is add it to your PATH.
So you MAY be able to simply remove 2.6 from your PATH, and then run
configure again. If that doesn't work, I'd try renaming
/Library/Frameworks/Python.framework/Versions/2.6, and then trying again.
One question:
It seems you can compile and run it this way -- are you sure it doesn't
work with 2.6?
HTH,
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig