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

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
Boost.Build V2:

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at