[C++-sig] Boost python in OS X, with non-framework python 2.4
Ralf W. Grosse-Kunstleve
rwgk at yahoo.com
Sun Nov 26 07:34:25 CET 2006
I successfully built a large set of Boost.Python extensions under Mac
OS 10.4 Intel with Python 2.3, 2.4, and 2.5, and under Mac OS 10.3 PPC
with Python 2.3 and 2.5 (I bet 2.4 will also work, but I didn't try).
I only managed to build successfully against Python frameworks. I
don't know if it is possible to work with a normal/plain Python build
as you get e.g. from fink.
You can install a Python framework from sources like this:
./configure --enable-framework
make
make frameworkinstall
For the last step you'll need to be root. The installation will go to
"/Library/Frameworks/Python.Framework/Versions/2.?/" and
"/Applications/MacPython 2.?", and you'll get a new set of softlinks in
/usr/local.
I'm using a scons-based build system, therefore I don't know how to
convince bjam to use the Python installation you want. Hopefully
someone else can help out.
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
More information about the Cplusplus-sig
mailing list