Boost logo

Boost-Build :

Subject: Re: [Boost-build] Using bjam in the sandbox
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-11-01 01:46:08


Edward Diener wrote:

> Vladimir Prus wrote:
>> On Saturday 31 October 2009 Edward Diener wrote:
>>
>>> After downloading the latest sandbox files from SVN, I attempt to build
>>> some documentation for a library there by invoking bjam from a directory
>>> where I see a jamfile.v2, only to get the message:
>>>
>>> "C:\Programming\VersionControl\sandbox\logging\boost-build.jam attempted
>>> to load
>>> the build system by invoking
>>>
>>> 'boost-build ;'
>>>
>>> but we were unable to find "bootstrap.jam" in the specified directory
>>>
>>>
>>> Please consult the documentation at 'http://www.boost.org'."
>>>
>>> How do I fix this ?
>>
>> The best way would be to copy headers and sources of the library into
>> an existing Boost source tree. Then, things will work mostly automatically.
>
> The same error occured.

Then, remove boost-build.jam in the 'logging' directory

> What is the reason fo the error message ?

Boost.Jam -- which is the low-level build engine -- has to locate
Boost.Build -- which is the real build system. For that purpose, it searches
for a file named 'boost-build.jam' that should contain directives where
to search for Boost.Build. That 'boost-build ;' means to consult
environment variable called 'BOOST_BUILD_PATH', which is probably
not set, and usually is not required -- since boost-build.jam in Boost
root contains direct path to Boost.Build.

- Volodya


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