Boost logo

Boost Users :

From: Philip Austin (paustin_at_[hidden])
Date: 2006-06-13 18:12:47


Salim Fadhley writes:
> So can somebody give me an example of one of the files that is likely to
> be in the BOOST_ROOT folder? If I look for this file then I can find
> it's containing directory, and then I know for certain what my linux
> distribution counts as boost-root.
>
> PS. Are there any other users who are running Boost Python on Gentoo
> Linux? The documents do seem to be very windows-centric.

(note that that there is a mailing list specifically for boost python:
c++-sig_at_[hidden] which will generally give you faster response on
bp questions)

This worked for me in January (Linux FC3):

1) build jam:
~/install/boost_1_33_1/tools/build/jam_src phil_at_gull% sh ./build.sh

2) export python variables

export PYTHON_VERSION=2.4
export PYTHON_ROOT=/home/phil/usr242

3) run all tests

cd ~/install/boost_1_33_1/libs/python/test
~/install/boost_1_33_1/tools/build/jam_src/bin.linuxx86/bjam "-sTOOLS=gcc" test

or a single test:

~/install/boost_1_33_1/tools/build/jam_src/bin.linuxx86/bjam -d2 "-sTOOLS=gcc" numpy

(the -d2 lets you see the compile flags bjam is using)

4) move the library (for my own work I just use make and the flags I get from step 3)

cp -a \
/home/phil/install/boost_1_33_1/bin/boost/libs/python/build/libboost_python.so/gcc/debug/shared-linkable-true \
 /home/phil/lib/boost_lib_1_33_1/debug

best, Phil Austin


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net