Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-12-14 10:44:50


On Tuesday 14 December 2004 18:34, David Abrahams wrote:
> Vladimir Prus wrote:
> > 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.
>
> Still stumped. I'm attempting to enclose an archive of the project, but
> last time it was stripped for some reason

You need to replace

generators.register-standard mtl4.upload : MTL4_UPLOADED : HTML ;

with

generators.register-standard mtl4.upload : HTML : MTL4_UPLOADED ;

because the register-standard rule is defined like this

rule register-standard ( id : source-types + : target-types + : .......

The clue to this solution is:

trying type MTL4_UPLOADED
*** 0 viable generators

If there's 0 viable generators it means there are no generators for the type,
or that requirements of all generators are not satisfied, but you have only
one generator with no requirements.

- Volodya

 


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