Boost logo

Boost-Build :

From: Chris Hoeppler (hoeppler_at_[hidden])
Date: 2006-06-28 17:18:24


Hi Jane,

> > trying to build a checkout of the RC_1_34_0 branch with a non-
> > default python
> > installation I am observing the following unexpected behavior:
> >
> > src/boost_1_34_0> bjam --v2 --with-python-root=/usr/local
> > error: wrong library name 'python-root=/usr/local' in the --with-
> > <library>
> > option.
> >
> > Isn't this the correct way to pass the python root location to BBv2
> > (cf. Jamfile.v2)?
>
> I don't know if anyone else got back to you already, but what I found
> to work was setting the environment variables for PYTHON_VERSION and
> PYTHON_ROOT:
>
> <http://www.boost.org/libs/python/doc/building.html>

This works for me as long as I use BBv1 but with BBv2 I also get an error:

src/boost_RC_1_34_0> export PYTHON_VERSION=2.4
src/boost_RC_1_34_0> export PYTHON_ROOT=/usr/local
src/boost_RC_1_34_0> bjam --v2
Building Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to the Boost.Regex documentation for more information
(and if you don't know what ICU is then you probably don't need it).
warning: Python location is not configured
warning: the Boost.Python library won't be built
...patience...

Chris


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