Boost logo

Boost :

Subject: Re: [boost] bjamming that used to work before modular-boost
From: Daniel James (dnljms_at_[hidden])
Date: 2014-01-19 11:17:06


On 19 January 2014 15:56, Paul A. Bristow <pbristow_at_[hidden]> wrote:
>
>
>> -----Original Message-----
>> From: Boost [mailto:boost-bounces_at_[hidden]] On Behalf Of Daniel James
>> Sent: Sunday, January 19, 2014 2:55 PM
>> To: boost_at_[hidden]
>> Subject: Re: [boost] bjamming that used to work before modular-boost
>>
>> On 19 January 2014 14:38, Paul A. Bristow <pbristow_at_[hidden]> wrote:
>> >
>> > I have boost-build.jam at I:\modular-boost
>> >
>> > Suggestions please.
>>
>> The boost-build.jam file from the sandbox
>> (http://svn.boost.org/svn/boost/sandbox/guild/boost-build.jam) needs to be updated for the new
> layout
>> of boost build. This is out of date:
>>
>> local boost-build-src = [ if-has-file bootstrap.jam :
>> [ MATCH --boost-build=(.*) : $(ARGV) ]
>> $(BOOST_BUILD_PATH)
>> $(BOOST_BUILD)
>> $(boost-src)/tools/build/v2
>> ] ;
>>
>> '/v2' is no longer required in the path, and 'bootstrap.jam' is in a different directory now.
> Changing it to
>> this might work:
>>
>> local boost-build-src = [ if-has-file bootstrap.bat :
>> [ MATCH --boost-build=(.*) : $(ARGV) ]
>> $(BOOST_BUILD_PATH)
>> $(BOOST_BUILD)
>> $(boost-src)/tools/build
>> ] ;
>
> That changes the result but doesn't entirely solve the problem.
>
> adding --boost=i:\modular-boost finds the licence text OK, but then gives
>
> Unable to load Boost.Build: could not find build system.
> ---------------------------------------------------------
> I:\boost-sandbox\guild\boost-build.jam attempted to load the build system by invoking
> 'boost-build I:\modular-boost\tools\build ;'
> but we were unable to find "bootstrap.jam" in the specified directory
> or in BOOST_BUILD_PATH (searching I:\modular-boost\tools\build).
>
> which is because it does not contain this file "bootstrap.jam" (and nor does i:\modular-boost)

Oh, I guess it needs to find the 'tools/build/src' path where
bootstrap.jam is located. Maybe this would work:

local boost-build-src = [ if-has-file bootstrap.jam :
    [ MATCH --boost-build=(.*) : $(ARGV) ]
    $(BOOST_BUILD_PATH)
    $(BOOST_BUILD)
    $(boost-src)/tools/build/src
    ] ;


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