Boost logo

Boost-Build :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2005-05-19 14:26:42

On 05/19/2005 12:38 PM, Craig Rodrigues wrote:
> Larry,
> Here is what I do to get Boost Jam to build and work from CVS
> under Unix (Linux, FreeBSD, MacOS X).

I did steps 1-3.

> (4) Set the BOOST_BUILD_PATH environment variable to point to the directory
> where the boost-build.jam file exists:
> for bash, export PATH=$PATH:$WHATEVERDIRECTORY/boost
> for tcsh, setenv PATH ${PATH}:${WHATEVERDIRECTORY/boost

This sets PATH to some directory, not BOOST_BUILD_PATH. It also looks
like the modification to PATH is for the BOOST_ROOT directory, which
is different from the BOOST_BUILD_PATH, which is defined here:


the tools/build/v2 subdirectory of a full Boost distribution.

OOPS. I did the `bjam --version` from tools/build, not tool/build/v2.
However, even when I tried it from tools/build/v2, I got:

<---------- cut here ------------
cd ~/prog_dev/boost-cvs/boost/tools/build/v2/
bjam --verson
in find-jamfile from module project
error: Unable to load Jamfile.
error: Could not find a Jamfile in directory '.'.
error: Attempted to find it with pattern '[Jj]amfile.v2 [Jj]amfile
error: Please consult the documentation at ''.
in load-jamfile from module project
in project.load from module project
>---------- cut here ------------

> I also perform these additional customization steps:
> (1) Modify $WHATEVERDIRECTORY/boost-build.jam so that bjam defaults to
> v2 mode.

Thanks. I'll try that.

> (2) Modify $WHATEVERDIRECTORY/boost/tools/build/v2/site-config.jam
> to use gcc by default.

I thought gcc was already used by default.

BTW, Craig, thank you for the detailed response.


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at