Boost logo

Boost :

Subject: Re: [boost] bjamming that used to work before modular-boost
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2014-01-19 10:56:17


> -----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)

???

Does this need changing too (to avoid adding --boost=I:\modular-boost)

local boost-src = [ if-has-file LICENSE_1_0.txt :
    [ MATCH --boost=(.*) : $(ARGV) ]
    $(BOOST)
    $(.boost-build-file:D)/../modular-boost/boost <<<<<<<<<< would this be right?
    $(.boost-build-file:D)/../boost
    $(.boost-build-file:D)/../Trunk
    ] ;

Thanks again.

Paul

---
Paul A. Bristow,
Prizet Farmhouse, Kendal LA8 8AB  UK
+44 1539 561830  07714330204
pbristow_at_[hidden]

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