Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-01-21 22:02:16


Jody Hagins <jody-boost-011304_at_[hidden]> writes:

> I am sorry, Dave. However, I can not get it to build (probably because
> I do not understand anything about jam). When I try to build out of
> that directory, I get all kinds of errors. Here is how I build from the
> root...
>
> cd ${BOOST_ROOT}
> bjam -sTOOLS=gcc --builddir=/home/jody/src/boost/bin
> --stagedir=/home/jody/src/boost/bin --with-python-root=/usr stage
>
>
> and this builds everything and puts it into the stage directory (and
> then I used that directory as the place to keep the libs).
>
> However, if I try to execute the same command in the lower directory...
>
>
> cd ${BOOST_ROOT}/libs/python/test
> bjam -sTOOLS=gcc --builddir=/home/jody/src/Borg/HEAD/boost/bin
> --with-python-root=/usr try
>
> I get the following errors...

--with-python-root only works from the Boost root directory when you
build for installation. Follow the instructions at
http://www.boost.org/libs/python/building.html or given explicitly in
the error message below for configuration.

> ---------------------------------------------------------------------
> skipping Boost.Python library build due to missing or incorrect
> configuration
>
> couldn't find Python.h in "/usr/local/include/python2.2"
>
> You can configure the location of your python installation by setting:
> PYTHON_ROOT - currently "/usr/local"
> PYTHON_VERSION - The 2-part python Major.Minor version number (e.g.
> "2.2", NOT "2.2.1") - currently "2.2"
>
> The following are automatically configured from PYTHON_ROOT if not
> otherwise set:
>
> PYTHON_LIB_PATH - path to Python library object; currently
> "/usr/local/lib/python2.2/config"
> PYTHON_INCLUDES - path to Python #include directories; currently
> "/usr/local/include/python2.2"
> ---------------------------------------------------------------------

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk