Boost logo

Boost :

From: Daryle Walker (darylew_at_[hidden])
Date: 2006-01-05 22:11:33


On 1/5/06 10:03 AM, "João Abecasis" <jpabecasis_at_[hidden]> wrote:

>> Unable to load Boost.Build: could not find "boost-build.jam"
>> ---------------------------------------------------------------
>> Attempted search from /Users/daryle up to the root
>> and in these directories from BOOST_BUILD_PATH and BOOST_ROOT:
>> ~/Documents/Programming/Boost/main-cvs/boost/.
>> Please consult the documentation at 'http://www.boost.org'.
>
> I imagine you missed the Boost-1.33.1-from-a-ZIP (or other) in
> BOOST_BUILD_PATH.

No I didn't. It's right there; it's pointing at my CVS version of Boost at
"~/Documents/Programming/Boost/main-cvs/boost/". That the directory that
includes "boost", "libs", "LICENSE_1_0.txt", and a "boost-build.jam".

Following another response, I created a "~/boost-build.jam" file with:

//========================================================================
boost-build ~/Documents/Programming/Boost/main-cvs/boost/tools/build/v2 ;
//========================================================================

as its only line. Running "bjam" from my home directory (i.e. "~") gave me
a different result:

//========================================================================
Unable to load Boost.Build: could not find build system.
---------------------------------------------------------
/Users/daryle/boost-build.jam attempted to load the build system by invoking

   'boost-build ~/Documents/Programming/Boost/main-cvs/boost/tools/build/v2
;'

but we were unable to find "bootstrap.jam" in the specified directory
or in BOOST_BUILD_PATH (searching
/Users/daryle/~/Documents/Programming/Boost/main-cvs/boost/tools/build/v2,
~/Documents/Programming/Boost/main-cvs/boost/).

Please consult the documentation at 'http://www.boost.org'.
//========================================================================

Wait a minute, I see a possibly inappropriate "~" still in the path. I'll
try changing my "~/boost-build.jam" to:

//========================================================================
boost-build
/Users/Daryle/Documents/Programming/Boost/main-cvs/boost/tools/build/v2 ;
//========================================================================

(That's one line, BTW.) Now I get a different result when I run "bjam" from
my home directory:

//========================================================================
error: Boost.Jam version 3.1.12 or later required

//========================================================================

Now I'll change my "~/.profile" to change the export of "BOOST_BUILD_PATH"
to substitute "/Users/Daryle" instead of "~". Unfortunately, the result
didn't change.

Finally, I got rid of "~/boost-build.jam" (by renaming). Now running "bjam"
in my home directory gives:

//========================================================================
Jamfile: No such file or directory
Jamfile: No such file or directory
..found 8 targets...
//========================================================================

When I try out the directions in the web page
<http://article.gmane.org/gmane.comp.lib.boost.documentation/1472>, I get:

//========================================================================
daryle[boost-doc-sample]$ cd libs/ntp/doc
daryle[doc]$ bjam --v2 -a -n
error: Boost.Jam version 3.1.12 or later required

daryle[doc]$ bjam
Jamfile: No such file or directory
Jamfile: No such file or directory
..found 8 targets...
daryle[doc]$ bjam --v2
error: Boost.Jam version 3.1.12 or later required

//========================================================================

At least I'm closer than before....

-- 
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT hotmail DOT com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk