|
Boost-Build : |
Subject: Re: [Boost-build] Trouble building Boost 1.40.0
From: Michael Jackson (mike.jackson_at_[hidden])
Date: 2009-10-13 12:02:54
More or less the same thing on OS X 10.5.8 Intel.
./bjam toolset=darwin --with-test --with-filesystem --with-
program_options --with-iostreams --with-thread variant=release,debug
threading=multi link=static runtime-link=shared --prefix=/Users/Shared/
Toolkits/boost-1_40/ architecture=combined address-model=32_64 install
/Users/Shared/OpenSource/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: <p/Users/Shared/Toolkits/
boost-1_40/lib>libboost_system.a
error: previous virtual target { common%common.copy-
libboost_system.a.STATIC_LIB { darwin%darwin.archive-
libboost_system.a.STATIC_LIB { darwin%darwin.compile.c++-
error_code.o.OBJ { error_code.cpp.CPP } } } }
error: created from ./install-proper-lib-static
error: another virtual target { common%common.copy-
libboost_system.a.STATIC_LIB { darwin%darwin.archive-
libboost_system.a.STATIC_LIB { darwin%darwin.compile.c++-
error_code.o.OBJ { error_code.cpp.CPP } } } }
error: created from ./install-proper-lib-static
error: added properties: <debug-symbols>on <inlining>off
<optimization>off <runtime-debugging>on <variant>debug
error: removed properties: <debug-symbols>off <define>NDEBUG
<inlining>full <optimization>speed <runtime-debugging>off
<variant>release
/Users/Shared/OpenSource/boost_1_40_0/tools/build/v2/build/virtual-
target.jam:480: in actualize-no-scanner from module object(file-
target)@28757
/Users/Shared/OpenSource/boost_1_40_0/tools/build/v2/build/virtual-
target.jam:130: in object(file-target)@28757.actualize from module
object(file-target)@28757
/Users/Shared/OpenSource/boost_1_40_0/tools/build/v2/build-system.jam:
713: in load from module build-system
/Users/Shared/OpenSource/boost_1_40_0/tools/build/v2/kernel/
modules.jam:283: in import from module modules
/Users/Shared/OpenSource/boost_1_40_0/tools/build/v2/kernel/
bootstrap.jam:138: in boost-build from module
/Users/Shared/OpenSource/boost_1_40_0/boost-build.jam:16: in module
scope from module
_________________________________________________________
Mike Jackson mike.jackson_at_[hidden]
BlueQuartz Software www.bluequartz.net
Principal Software Engineer Dayton, Ohio
On Oct 13, 2009, at 11:57 AM, 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.)
>
> 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
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
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