Boost logo

Boost-Build :

Subject: Re: [Boost-build] bjam rule message unknown in module Jamfile /boost_1_37_0/libs/graph/build
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2008-11-14 13:49:50


Paul A. Bristow wrote:

>
>
>> -----Original Message-----
>> From: Vladimir Prus [mailto:ghost_at_[hidden]]
>> Sent: 14 November 2008 16:39
>> To: Boost.Build developer's and user's list
>> Subject: Re: [Boost-build] bjam rule message unknown in module Jamfile
>> /boost_1_37_0/libs/graph/build
>>
>> On Friday 14 November 2008 19:20:29 Paul A. Bristow wrote:
>> > Using a new machine (Vista Sp1 and VS2008) I have been able to build
> using
>> > several jamfiles from Boost 1.37, trunk and sandbox.
>> >
>> > But quite a few items won't build thus (for example):
>> >
>> > I:\Boost_sandbox\math_toolkit\libs\math\example>bjam
>> > I:\boost_1_37_0\libs\graph\build\Jamfile.v2:41: in modules.load
>> > rule message unknown in module
> Jamfile</I:/boost_1_37_0/libs/graph/build>.
>> > I:/boost_1_37_0/boost-build/build\project.jam:312: in load-jamfile
>> > I:/boost_1_37_0/boost-build/build\project.jam:68: in project.load
>> >
>> > I've not been able to see what is the feature the failures have in
> common.
>> >
>> > The same modules build OK using
>> >
>> > Nor, despite trying some of the debug options, what I am doing wrong.
>>
>> It looks like your I:/boost_1_37_0/boost-build is out of date with respect
>> to the rest of Boost. Normally, in a Boost checkout, Boost.Build is in
>> tools/build/v2. If you have it in boost-build, then your probably either
> copied
>> it manually, or checked out it separately. In both cases, "svn up" on
> Boost itself,
>> won't update that Boost.Build install.
>>
>> - Volodya
>
> Thanks for this.
>
>
> I have completely replaced I:/boost_1_37_0/ as per release and put
> BOOST_BUILD_PATH to BOOST_BUILD_PATH=I:\boost_1_37_0\tools\build\v2
> And
> BOOST_ROOT=I:\boost_1_37_0
>
> And things seem a lot better.
>
> Obvious some fumbling here - but I could use a more explicit "do this, do
> that" idiots guide to this setup.

I think that these days, if you have up-to-date bjam binary, all you need is
an SVN checkout. You don't need to set BOOST_BUILD_PATH or BOOST_ROOT, you
can just run 'bjam' in top-level dir of the checkout?

- 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