Subject: Re: [Boost-build] Using bjam in the sandbox
From: Edward Diener (eldiener_at_[hidden])
Date: 2009-11-01 13:40:33
Vladimir Prus wrote:
> 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
I tried that and still received the error.
>> 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.
I set the BOOST_ROOT environment variable, bu it still did not work.
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