|
Boost : |
From: Craig Rodrigues (rodrigc_at_[hidden])
Date: 2002-02-27 18:53:11
On Wed, Feb 27, 2002 at 04:37:31PM -0500, David Abrahams wrote:
> I'm not maintaining those makefiles; I'm not sure that anyone is. The
> official way to build/test Boost is by using Boost.Build.
How do I use Boost.Build?
I followed the instructions at:
http://www.boost.org/tools/build/index.html
I did more or less the following in a Bourne shell script:
==============================================================================
#!/bin/sh
ROOT=$PWD
export ROOT
cvs -z 3 -d:pserver:anonymous_at_[hidden]:/cvsroot/boost co boost#cd boost/tools/build/jam_src
printf "=== Building Jam\n\n"
gmake
cd $ROOT/boost
printf "=== Building Boost library\n\n"
$ROOT/boost/tools/build/jam_src/jam0 -sBOOST_ROOT=$ROOT/boost -sTOOLS="gcc" 2>&1 | tee /tmp/boost.txt
printf "=== Building regression test\n\n"
cd $ROOT/boost/status
$ROOT/boost/tools/build/jam_src/jam0 -sBOOST_ROOT=$ROOT/boost -sTOOLS="gcc" 2>&1 | tee /tmp/boost_regress.txt
==============================================================================
For some reason, during the build of the Python stuff in Boost,
g++ -c -Wall -ftemplate-depth-100 -DBOOST_PYTHON_STATIC_LIB=1 -DBOOST_PYTHON_DYNAMIC_LIB -g -O0 -fno-inline -fPIC -I"libs/python/build" -I"/usr/local/include/python1.5" -I"." -o "libs/python/build/bin/libboost_python_static.a/gcc/debug/runtime-link-dynamic/shared-linkable-true/types.o" "libs/python/build/../src/types.cpp"
The make scheme though my Python includes where in /usr/local/include/python1.5,
instead of in /usr/include/python1.5.
Please tell me what the correct way to fix this is.
Thanks.
-- Craig Rodrigues http://www.gis.net/~craigr rodrigc_at_[hidden]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk