Boost logo

Boost-Build :

Subject: [Boost-build] Trouble building Boost 1.40.0
From: Ian Emmons (iemmons_at_[hidden])
Date: 2009-10-13 11:57:31


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.)

Any ideas about what's going wrong here?

Thanks in advance,

Ian

===========================================================

warning: Building Boost.Regex with the optional Unicode/ICU support
disabled.
note: Please refer to the Boost.Regex documentation for more information
note: this is a strictly optional feature.
warning: Graph library does not contain optional GraphML reader.
note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH
to the
note: directories containing the Expat headers and libraries,
respectively.
warning: Graph library does not contain MPI-based parallel components.
note: to enable them, add "using mpi ;" to your user-config.jam
warning: skipping optional Message Passing Interface (MPI) library.
note: to enable MPI support, add "using mpi ;" to user-config.jam.
note: to suppress this message, pass "--without-mpi" to bjam.
note: otherwise, you can safely ignore this message.
/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
error: previous virtual target { darwin%darwin.link.dll-
libboost_date_time.dylib.SHARED_LIB { darwin%darwin.compile.c++-
gregorian/greg_month.o.OBJ { gregorian/greg_month.cpp.CPP } } { darwin
%darwin.compile.c++-gregorian/greg_weekday.o.OBJ { gregorian/
greg_weekday.cpp.CPP } } { darwin%darwin.compile.c++-gregorian/
date_generators.o.OBJ { gregorian/date_generators.cpp.CPP } } }
error: created from libs/date_time/build/boost_date_time
error: another virtual target { darwin%darwin.link.dll-
libboost_date_time.dylib.SHARED_LIB { darwin%darwin.compile.c++-
gregorian/greg_month.o.OBJ { gregorian/greg_month.cpp.CPP } } { darwin
%darwin.compile.c++-gregorian/greg_weekday.o.OBJ { gregorian/
greg_weekday.cpp.CPP } } { darwin%darwin.compile.c++-gregorian/
date_generators.o.OBJ { gregorian/date_generators.cpp.CPP } } }
error: created from libs/date_time/build/boost_date_time
error: added properties: <debug-symbols>off <define>NDEBUG
<inlining>full <optimization>speed <runtime-debugging>off
<variant>release
error: removed properties: <debug-symbols>on <inlining>off
<optimization>off <runtime-debugging>on <variant>debug
/Users/iemmons/dev/boost_1_40_0/tools/build/v2/build/virtual-
target.jam:480: in actualize-no-scanner from module object(file-target)
@3638
/Users/iemmons/dev/boost_1_40_0/tools/build/v2/build/virtual-
target.jam:130: in object(file-target)@3638.actualize from module
object(file-target)@3638
/Users/iemmons/dev/boost_1_40_0/tools/build/v2/build-system.jam:713:
in load from module build-system
/Users/iemmons/dev/boost_1_40_0/tools/build/v2/kernel/modules.jam:283:
in import from module modules
/Users/iemmons/dev/boost_1_40_0/tools/build/v2/kernel/bootstrap.jam:
138: in boost-build from module
/Users/iemmons/dev/boost_1_40_0/boost-build.jam:16: in module scope
from module


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