Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2005-05-26 12:21:32


"Arkadiy Vertleyb" <vertleyb_at_[hidden]> writes:

> Hi all,
>
> I am trying to build the qickbook, and I am pretty close to becomming
> frustrated. So far I was able to build the bjam.exe (from CVS) and get the
> Boost.Build 2 (downloaded executable).

Umm, Boost.Build 2 isn't an executable; it's a collection of jam files
running on top of bjam, which is an executable. I suggest you use a
bjam.exe built from CVS and the Boost.Build 2 that's part of the CVS.
If you download a Windows BB2 release from SourceForge, it will
normally contain a bjam.exe that will be out-of-date with the rest of
Boost.Build which is in the CVS.

We really need to make it clear in the docs that the BBv2 release is
really just a subset of the Boost CVS tree plus a build bjam.exe.
People keep getting confused here.

> I also uncommented the GCC tool in
> user-config.jam, and was able to build the hello example.
>
> Now I cd to the quickbook directory (CVS) and there is Jamfile.v2 there. So
> I run bjam --v2.
>
> If I try to rely only on BOOST_BUILD_PATH, I am getting the following:

If you are building from within the boost tree, don't set
BOOST_BUILD_PATH; that's just a distraction. The neccessary stuff
will be done for you automatically.

<snip>
> C:\boost_cvs\boost\boost-build.jam:12: in module scope from module
>
> If I create boost-build.jam, and place the root path there, the error is
> different:

Don't make a boost-build.jam either; there's already one in the Boost
CVS tree.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com
 

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