|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-12-08 04:11:12
Hi Jürgen,
> > > hunold_at_lin17 ~/packages/boost $ bjam --v2
> > > /ive/hunold/packages/boost/tools/build/v2/build/targets.jam:1265:
> > > in targets.tag-name from module targets error: Both <tag> and
> > > <name> properties specified
> > > /ive/hunold/packages/boost/tools/build/v2/tools/stage.jam:128: in
> > > construct from module object(stage-target-class)@1
>
> Ahh. I've missed the "stage.jam" in the second line.
> I was confused by the fact that bjam didn't mention the offending
> Jamfile...
>
> > The error says you have both <tag> and <name> properties on some
> > 'stage' rule. Could you check what stage rules have <tag>
> > requirement, and give the their definition?
>
> Well, I've only found
>
> stage install : libs/$(libraries)/build
>
> : <so-version>1.32.0
>
> <location>$(lib-locate) <tag>@$(rename-rule)
> ;
>
> in $BOOST_ROOT/Jamfile.v2 line 127.
>
> Okay, I've solved the issue by making "install" explicit which it should
> have been from beginning, I think. Or else bjam will _always_ try to
> install to /usr/local ... . Patch attached ;-)
>
> Now it fails when doing "bjam --v2 -n install"
Thanks! I was testing 'install' with "--with_program_options" option only so
missed this error -- it's caused when using Boost.Threads. I'll fix it.
Thanks,
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