Boost logo

Boost-Build :

From: Michael Cieslinski (micis_at_[hidden])
Date: 2007-03-23 08:57:08


I want to compile, install and check boost.
Since I use different compiler versions I need to keep different versions of libraries at different places.

I tried the following commands:

#unpack sources
mkdir /srv/develpak/boost133
cd /srv/develpak/boost133
tar -xjf /srv/develpak/dnl/boost_1_33_1.tar.bz2

#configure
cd /srv/develpak/boost133/boost_1_33_1/libs/config/
export LIBS="-lpthread"
sh ./configure --prefix=/usr/local/boost133-gcc40
cp user.hpp /srv/develpak/boost133/boost_1_33_1/boost/config

#build jam
cd /srv/develpak/boost133/boost_1_33_1/tools/build/jam_src/
sh ./build.sh
export PATH=$PATH:/srv/develpak/boost133/boost_1_33_1/tools/build/jam_src/bin.linux

#compile
cd /srv/develpak/boost133/boost_1_33_1
bjam -j8

#login as root
su

#install
bjam install

But then I get messages like:
"FileClone /usr/local/lib/libboost_regex-gcc-d-1_33_1.so"

I specified "--prefix=/usr/local/boost133-gcc40" at configure so why does it install in /usr/local/lib/ ?

Also since I do a 64bit build it uses /usr/local/lib/ and not /usr/local/lib64/
But that only because I just see it ....

My problem is that I want to install in the directory given at configure and NEVER touch any existing software in other directories like /usr/local/lib where the production versions are.

Can you please advice me what I have to do?

Many thanks in advance


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