Boost logo

Boost-Build :

From: Jurko Gospodnetić (jurko.gospodnetic_at_[hidden])
Date: 2008-06-30 19:15:10


   Hi Eric.

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

   If there is a problem - I do not see it. What exact Boost Build
version are you using and what tree are you trying to build?

   I just tried it with the trun Boost Build and with the current Boost
trunk on Windows and Boost Build has no problems with this. It failed to
build the documentation but that is most likely due to mu doxygen
toolchain not being set up correctly.

   Best regards,
     Jurko Gospodnetić


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