|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
Trouble building Boost 1.40.0On 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 |
|
|
Re: Trouble building Boost 1.40.0More 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@... 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 _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build |
|
|
Re: Trouble building Boost 1.40.0AMDG
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: http://lists.boost.org/mailman/listinfo.cgi/boost-build |
|
|
Re: Trouble building Boost 1.40.0On Oct 13, 2009, at 10:36 PM, Steven Watanabe wrote: > 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 > > _______________________________________________ > Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build 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. Mike _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build |
|
|
Re: Trouble building Boost 1.40.0Steven,
Thanks for the pointer, that helps. A few items of note and further issues: (1) On Windows (with MSVC 7.1, 8, and 9), a nearly identical build command, without the layout option, works just fine. (2) According to bjam --help (run from the Boost directory), "versioned" is the default layout. Apparently this is just a documentation error, though, because when I specified "versioned" explicitly, the error I had went away on both Linux and Macintosh. (3) On Linux, all is now well. (4) On Macintosh, your suggestion solves my original error, but gives me new trouble because I'm trying to create universal binaries under Snow Leopard. But since I see another thread that covers that issue, there is no need to rehash it here. So, bottom line: There is a minor documentation bug in the text emitted by "bjam --help" regarding the default for the --layout option. Thanks, Ian On Oct 13, 2009, at 10:36 PM, Steven Watanabe wrote: > 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 _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build |
|
|
Re: Trouble building Boost 1.40.0AMDG
Ian Emmons wrote: > Thanks for the pointer, that helps. A few items of note and further > issues: > > (1) On Windows (with MSVC 7.1, 8, and 9), a nearly identical build > command, without the layout option, works just fine. The default on Windows is --layout=versioned. > (2) According to bjam --help (run from the Boost directory), > "versioned" is the default layout. Apparently this is just a > documentation error, though, because when I specified "versioned" > explicitly, the error I had went away on both Linux and Macintosh. > > (3) On Linux, all is now well. > > (4) On Macintosh, your suggestion solves my original error, but gives > me new trouble because I'm trying to create universal binaries under > Snow Leopard. But since I see another thread that covers that issue, > there is no need to rehash it here. > > So, bottom line: There is a minor documentation bug in the text > emitted by "bjam --help" regarding the default for the --layout option. In Christ, Steven Watanabe _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build |
|
|
Re: Trouble building Boost 1.40.0On Wednesday 14 October 2009 Ian Emmons wrote:
> So, bottom line: There is a minor documentation bug in the text > emitted by "bjam --help" regarding the default for the --layout option. I surely do like it when a problem boils down to documentation change only ;-) Fixed on trunk; will merge to release shortly. - Volodya _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build |
| Free embeddable forum powered by Nabble | Forum Help |