Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-05-02 02:54:51


On Friday 28 April 2006 01:56, Mark Evans wrote:

> So the only real problem is when the same name is passed as arg[1] to
> install. To further simplify the test case that produces the error, I
> tried:
>
> install dist : Jamfile ;
> install dist : bar.h ;
>
> This gets the error:
>
> error: No best alternative for ./dist
> next alternative: required properties: (empty)
> matched
> next alternative: required properties: (empty)
> matched
>
> The upshot for me, using <conditional>, is to make the dummy arg[1]
> arguments of install unique. I can live with this workaround but hopefully
> there's a better solution to be had.

Hi Mark,
the above behaviours is at least by design. Two main targets with the same
name are considered to be alternatives of the same target, and Boost.Build
tries to select one of them, which is not possible in the case above.

Can you tell what are you trying to do?

- Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2

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