Boost logo

Boost-Build :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-05-17 07:51:23


----- Original Message -----
From: "Toon Knapen" <toon.knapen_at_[hidden]>

> Apparantly, the jam on the release does'nt take my flag -sBOOST_ROOT=...
into
> account apparantly. I just tried following with the linux prebuilt and an
> exec recompiled from the sources :
>
> So first I just try to use bjam on my project, though specifying where
boost
> is located :
> poisson:/home/tk/roaming/dev/femtown >bjam
> -sBOOST_ROOT=/home/tk/roaming/dev/boost
> Unable to load Boost.Build: could not find "boost-build.jam"
> ---------------------------------------------------------------
> Attempted search from /home/tk/roaming/dev/femtown up to the root
>
> Please consult the documentation at 'http://www.boost.org'.
>
> Next, I try first to export BOOST_ROOT but I stil fail.
>
> poisson:/home/tk/roaming/dev/femtown >export
> BOOST_ROOT=/home/tk/roaming/dev/boost
> poisson:/home/tk/roaming/dev/femtown >bjam
> Unable to load Boost.Build: could not find "boost-build.jam"
> ---------------------------------------------------------------
> Attempted search from /home/tk/roaming/dev/femtown up to the root
>
> Please consult the documentation at 'http://www.boost.org'.
>
>
> Looking at the error message, jam first searched up to the root of my
project
> but never goes to BOOST_ROOT ;( This worked fine a week ago ?

The startup behavior is changed; please see
http://www.boost.org/tools/build/build_system.htm#jambase_replacement

If you add a boost-build.jam file at (or above) the root of your project,
you can indicate where boost is by invoking:

boost-build path/to/boost/tools/build ;

You can also set $(BOOST_ROOT) in that file. See boost-build.jam in the
boost root directory.

-Dave

 


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