Boost logo

Boost-Build :

From: Eric Niebler (eric_at_[hidden])
Date: 2008-06-30 16:46:25


Daniel James wrote:
> Hi,
>
> I'm getting errors building the combined documentation on Ubuntu
> Hardy. The problem seems to be caused by the accumulator library (or
> maybe the boost build tools that it uses) using absolute directories
> for its build destination, while most other libraries use relative
> ones.

I'm now seeing this error, too. The repro is quite simple. Remove your
bin.v2 directory, chdir into libs/accumulators/doc and type bjam. I get:

...found 1328 targets...
...updating 39 targets...
MkDir1 /home/ericne/boost/org/trunk/bin.v2
MkDir1 /home/ericne/boost/org/trunk/bin.v2/libs
MkDir1 /home/ericne/boost/org/trunk/bin.v2/libs/accumulators
MkDir1 /home/ericne/boost/org/trunk/bin.v2/libs/accumulators/doc
MkDir1 /home/ericne/boost/org/trunk/bin.v2/libs/accumulators/doc/html
MkDir1 ../../../bin.v2
mkdir: cannot create directory `../../../bin.v2': File exists

     mkdir "../../../bin.v2"

...failed MkDir1 ../../../bin.v2...

> '../bin.v2' has been previously created as a relative directory, and
> here is an absolute directory
> '/home/daniel/boost/branches/release/bin.v2', which I think causes
> boost build to try to create the same directory twice.

Yes, that seems to be the problem, which would seem to implicate
Boost.Build (?) for failing to recognize that these two targets are
really the same. Any help from the Boost.Build gurus?

-- 
Eric Niebler
BoostPro Computing
http://www.boostpro.com

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