Boost logo

Boost Users :

From: Grégoire Weber (gregwebsz_at_[hidden])
Date: 2006-01-23 10:24:05


Hi!

I try to build boost from source (boost-1.33.1 from sf.net) under debian
stable on x86.

In the first run I followed the "Getting Started" document but run into
problems. In a second round I tried out the following additionaly:

* I downloaded and extracted the sources (tar) to my BOOST_ROOT
* I built bjam according the "Building Boost.Jam" instructions:
  http://www.boost.org/tools/build/jam_src/index.html#building_bjam
  --> bjam seems ok to me
* In Step 4 before carrying out the install uncommented the ``using gcc ;``
  line in BOOST_ROOT/tools/build/v2/user-config.jam
* Step 5: In the BOOST_ROOT I tried to trigger install``bjam --v2 install``

Now I'm stuck here, googling around didn't help.

Any hints? Thanks.

Gregoire

P.S.: Everything I do I do as ordinary user. Do I need root priviledges?

-----------------------------------------
bjam output
 -----------------------------------------

weber_at_stein:~/sz/nosvn/boost-1.33.1$ bjam --v2 install
Building Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to the Boost.Regex documentation for more information
(and if you don't know what ICU is then you probably don't need it).
warning: Python location is not configured
warning: the Boost.Python library won't be built
/home/weber/sz/nosvn/boost-1.33.1/tools/build/v2/build/virtual-target.jam:868:
in virtual-target.register-actual-name from module virtual-target
error: Duplicate name of actual target:
<p/usr/local/lib>libboost_date_time-gcc-d-1_33.so.1.33.1
error: previous virtual target {
common%common.copy-libboost_date_time-gcc-d-1_33.so.1.33.1.SHARED_LIB {
gcc%gcc.link.dll-libboost_date_time-gcc-d-1_33.so.1.33.1.SHARED_LIB {
gcc%gcc.compile.c++-greg_month.o.OBJ { gregorian/greg_month.cpp.CPP } } {
gcc%gcc.compile.c++-greg_weekday.o.OBJ { gregorian/greg_weekday.cpp.CPP } }
{ gcc%gcc.compile.c++-date_generators.o.OBJ {
gregorian/date_generators.cpp.CPP } } } }
error: created from ./install-lib
error: another virtual target {
common%common.copy-libboost_date_time-gcc-d-1_33.so.1.33.1.SHARED_LIB {
common%common.copy-libboost_date_time-gcc-d-1_33.so.1.33.1.SHARED_LIB {
gcc%gcc.link.dll-libboost_date_time-gcc-d-1_33.so.1.33.1.SHARED_LIB {
gcc%gcc.compile.c++-greg_month.o.OBJ { gregorian/greg_month.cpp.CPP } } {
gcc%gcc.compile.c++-greg_weekday.o.OBJ { gregorian/greg_weekday.cpp.CPP } }
{ gcc%gcc.compile.c++-date_generators.o.OBJ {
gregorian/date_generators.cpp.CPP } } } } }
error: created from ./install-lib
error: added properties: none
error: removed properties: none
/home/weber/sz/nosvn/boost-1.33.1/tools/build/v2/build/virtual-target.jam:175:
in actualize-no-scanner from module object(file-target)@291
/home/weber/sz/nosvn/boost-1.33.1/tools/build/v2/build/virtual-target.jam:110:
in object(file-target)@291.actualize from module object(file-target)@291
/home/weber/sz/nosvn/boost-1.33.1/tools/build/v2/build-system.jam:285: in
load from module build-system
/home/weber/sz/nosvn/boost-1.33.1/tools/build/v2/kernel/modules.jam:259: in
import from module modules
/home/weber/sz/nosvn/boost-1.33.1/tools/build/v2/kernel/bootstrap.jam:153:
in boost-buildfrom module
/home/weber/sz/nosvn/boost-1.33.1/boost-build.jam:12: in module scope from
module



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net