Boost logo

Boost-Build :

Subject: Re: [Boost-build] Trouble building Boost 1.40.0
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-10-13 22:36:46


AMDG

Ian Emmons wrote:
> On both Macintosh (Snow Leopard) and Linux (Ubuntu 9.04), I am unable
> to build Boost 1.40.0. FOr instance, on Macintosh, I have a
> user-config consisting of the single line
>
> using darwin ;
>
> and an empty site-config.jam. The command I am issuing is this:
>
> bjam -q --build-dir=darwin/build --stagedir=darwin/stage
> variant=debug,release threading=multi link=shared
> runtime-link=shared stage
>
> The output I get is shown below. (I know that the first 12 lines of
> warnings and notes are innocuous -- I've included them just for
> completeness.)
>
> <snip>
> /Users/iemmons/dev/boost_1_40_0/tools/build/v2/build/virtual-target.jam:1056:
> in virtual-target.register-actual-name from module virtual-target
> error: Duplicate name of actual target:
> <pdarwin/stage/lib>libboost_date_time.dylib

If you need to build multiple variants, you need to use either
--layout=tagged or --layout=versioned.
The default of --layout=system tries to give all variants of a library
the same name.

In Christ,
Steven Watanabe


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