Boost logo

Boost-Build :

Subject: [Boost-build] I can't build boost
From: Serg Bragin (distrustfulguy_at_[hidden])
Date: 2011-12-19 04:22:08


I'm novice with boost. I built boost 1.47.0 under Windows / MinGW as
follows:

unpack boost archive to D:\ and rename root folder to "boost"
run Windows command line
cd D:\boost\tools\build\v2
run bootstrap.bat mingw
run b2 --prefix=D:\boost\tools\build\b2 install
Add "D:\boost\tools\build\b2\bin" to PATH
cd D:\boost
run b2 --build-type=complete toolset=gcc stage

and all was OK.
If I do the same with boost 1.48.0, the last step fails. And output is:

Performing configuration checks

- has_icu builds : no
warning: Graph library does not contain MPI-based parallel components.
note: to enable them, add "using mpi ;" to your user-config.jam
- iconv (libc) : no
- iconv (separate) : no
- icu : no
- icu (lib64) : no
- g++ -shared-* supported : yes
- ../config//has_gcc_visibility builds : no
- ../config//has_long_double_support builds : yes
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.
warning: No python installation configured and autoconfiguration
note: failed. See http://www.boost.org/libs/python/doc/building.html
note: for configuration instructions or pass --without-python to
note: suppress this message and silently skip all Boost.Python targets
D:/boost/tools/build/v2/build\virtual-target.jam:1079: in
virtual-target.register-actual-name from module virtual-target
error: Duplicate name of actual target:
<pstage\lib>libboost_exception-mgw44-mt-1_48.a
error: previous virtual target {
common%common.copy-libboost_exception-mgw44-mt-1_48.a.STATIC_LIB {
gcc%gcc.archive-libboost_exception-mgw44-mt-1_48.a.STATIC_LIB {
gcc%gcc.compile.c++-clone_current_exception_non_intrusive.o.OBJ {
clone_current_exception_non_intrusive.cpp.CPP } } } }
error: created from ./stage-proper
error: another virtual target {
common%common.copy-libboost_exception-mgw44-mt-1_48.a.STATIC_LIB {
gcc%gcc.archive-libboost_exception-mgw44-mt-1_48.a.STATIC_LIB {
gcc%gcc.compile.c++-clone_current_exception_non_intrusive.o.OBJ {
clone_current_exception_non_intrusive.cpp.CPP } } } }
error: created from ./stage-proper
error: added properties: <linkflags>-shared-libgcc
<linkflags>-shared-libstdc++
error: removed properties: none
D:/boost/tools/build/v2/build\virtual-target.jam:490: in
actualize-no-scanner from module object(file-target)@4643
D:/boost/tools/build/v2/build\virtual-target.jam:135: in
object(file-target)@4643.actualize from module object(file-target)@4643
D:/boost/tools/build/v2\build-system.jam:749: in load from module
build-system
D:\boost\tools\build\v2/kernel\modules.jam:283: in import from module
modules
D:\boost\tools\build\v2\kernel\bootstrap.jam:142: in boost-build from module
D:\boost\boost-build.jam:17: in module scope from module

So, i'm very confused. What do I do wrong?

Serg.



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