Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-05-25 01:10:44


On Wednesday 25 May 2005 01:48, Rene Rivera wrote:
> With the recent changes, bjam and bbv2, I can no longer:
>
> cd boost-root/tools
> bjam --v2 --debug-configuration
>
> I get this error:
>
> C:/DevRoots/Boost/boost/tools/build/v2/util\path.jam:162: in path.join
> from module path
> error: only first element may be rooted

Maybe my recent path.glob changes are to blame...

Hmm.. what happens is:

install dist-share-boostbook
:
[ glob $(dirs)/$(patterns) $(dirs)/*/$(patterns) $(dirs)/*/*/$(patterns) ]
:
<location>../dist/share
<install-source-root>.
;

The 'glob' rule returns absolute path names (for quite a long time), and
stage.jam tries to do:

path = [ path.join $(path) $(name:D) ] ;

Where $(path) is "." and $(name:D) is absolute. Frankly, I'm not sure how this
ever could worked. I've modified stage.jam to contain

path = [ path.root $(path) $(name:D) ] ;

And the error is now gone.

- Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2
 

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