|
Boost : |
From: Neal D. Becker (nbecker_at_[hidden])
Date: 2002-08-22 10:09:41
I'm trying to build boost.python on gcc/linux. I'm stumped.
I build/installed jam/bjam, and then did a boost top-level build
using:
bjam -sGCC=gcc3 -sGXX=g++3 -sPYTHON_ROOT=/usr -sPYTHON_VERSION=2.2 -sPYTHON_INCLUDES=/usr/include/python2.2 -sTOOLS=gcc
---------------------------------------------------------------------
skipping Boost.Python library build
You can configure the location of your python installation, by setting:
PYTHON_ROOT - currently "/usr"
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_INCLUDES - path to Python #include directories; currently "/usr/include/python2.2"
PYTHON_LIB_PATH - path to Python library; currently
"/usr/lib/python2.2/config"
PYTHON_STDLIB_PATH - path to Python standard library modules; currently
"/usr/lib/python2.2"
---------------------------------------------------------------------
...found 414 targets...
...updating 125 targets...
[building....]
But now how do I build Boost.Python? The instructions in
boost/libs/python/doc/building.html say
To build and test Boost.Python from within the libs/python/build directory, invoke
bjam -sTOOLS=toolset test
Here's what I get:
bjam -sGCC=gcc3 -sGXX=g++3 -sPYTHON_ROOT=/usr -sPYTHON_VERSION=2.2 -sPYTHON_INCLUDES=/usr/include/python2.2 -sTOOLS=toolset test
toolset-tools.jam: No such file or directory
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk