|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-06-19 04:22:15
On Thursday 15 June 2006 01:25, Jane Lin wrote:
> Hello,
Hi Jane,
> I'm having problems compiling boost.python with BBv2 on a Mac OS X
> 10.4.6, Xcode 2.2.
....
> 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?
First of all, I'd suggest you use the current version of Boost.Build V2, which
can be found at the "nightly build" link at http://boost.org/boost-build2, or
in the CVS.
With that in place, run bjam with the extra --debug-configuration option. You
should see something like:
notice: Python include path is <path>
Make sure that the patch in question has the Python header files that are
reported as missing ('pyconfig.h', for example).
If the path above contains the right headers, make sure that the command line
includes the right -I option. When bjam fails to compiler a file it will
print the failed command, so you can look at it.
If the path above does not contain the right headers, look around to see where
they are in reality, and tell me what path is used by Boost.Build, and what
path should be used.
- Volodya
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build V2: http://boost.org/boost-build2
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk