Boost logo

Boost-Build :

Subject: Re: [Boost-build] Trouble building Boost 1.40.0
From: Michael Jackson (mike.jackson_at_[hidden])
Date: 2009-10-14 10:16:53

On Oct 13, 2009, at 10:36 PM, Steven Watanabe wrote:

> 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
> _______________________________________________
> Unsubscribe & other changes:

Thanks for that. After adding one of those I get errors in the build
because the following flags appear:

-arch i386 -arch ppc -arch x86_64 -arch ppc64 -m64

You can not have -m64 on the same line as -arch x86_64 so this is
probably a bug in the bjam build system I would guess. I'll guess I'll
try the CMake build system and see if I have any better luck.


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