Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-12-14 03:31:02

On Friday 10 December 2004 20:49, David Abrahams wrote:
> Help! I'm getting some errors I don't know what to do with.
> cd /home/dave/src/osl/mtl4/libs/numeric/mtl/doc/
> bjam -n -a
> /home/dave/boost/tools/build/v2/build/targets.jam:1237: in construct from
> module object(typed-target)@1 error: unable to construct
> ../../../../libs/numeric/mtl/doc/index
> /home/dave/boost/tools/build/v2/build/targets.jam:1093: in

This message usually means that calling generators.construct returned nothing.
Whenever I see anything like that, I run bjam with the "--debug-generators"
option to see what's going on.

> Also, if I uncomment the commented line in the Jamfile, I get:
> /home/dave/boost/tools/build/v2/build/targets.jam:704: in generate-really
> from module object(main-target)@1 error: failed to build
> ../../../../libs/numeric/mtl/doc/index with properties because no
> best-matching alternative could be found

Do you define two targets with the same name?

> P.S. It's disconcerting to see ../../../../ junk in the BBv2 output; I
> had hoped we'd squash that by now. It's embarrassing enough in BBv1.

It would be good to fix up, but is not possible in general. For
example ../../../../libs/numeric/mtl/doc/index might not be the same as ".".

- Volodya


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