Boost logo

Boost-Build :

From: Jane Lin (jane_at_[hidden])
Date: 2006-06-14 17:25:52


I'm having problems compiling boost.python with BBv2 on a Mac OS X
10.4.6, Xcode 2.2. I can build fine with BBv1, but I want to build a
universal binary using the Adobe patch, and it requires BBv2. The
Adobe patch and build scripts builds the other boost libraries fine
but fails on python. It's not the patch, because I've tried building
boost.python with a clean copy of boost 1.33.1 with the same errors
with the following command:

>bjam --v2 --with-python

The first problem I ran into was the message that Python wasn't
configured, even though I had environment variables set for
PYTHON_ROOT and PYTHON_VERSION. I was able to fix this by editing the
user-config.jam file in my home directory to configure python. Now it
attempts to build boost.python, but it's not finding the python
header files (i.e. pyconfig.h, patchlevel.h, etc.) I have tried
pointing to the universal binary Python in the MacOS10.4u.sdk:

using python : 2.3 : "/Developer/SDKs/MacOSX10.4u.sdk/System/Library/
Frameworks/Python.Framework/Versions/2.3" ;

as well as a darwinports installation of Python 2.4 (PYTHON_ROOT=/opt/
local) and have not had any luck. I've made sure the environment
variables match the entries in user-config.jam. Is there some other
setting I need when using the Python framework?

Thanks so much,

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at