|
Boost : |
Subject: Re: [boost] Package build problem
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-05-21 11:15:47
Scott Karns wrote:
>
> When I attempt to create a boost-1.39.0 RPM, I encounter the following error:
>
> + bjam -j2 -d2 --layout=tagged --toolset=gcc variant=release threading=single,multi
> optimization=speed 'linkflags= -Wl,--as-needed -Wl,--no-undefined -lpython2.5' debug-symbols=on
> -sHAVE_ICU=1 --prefix=/usr --libdir=/usr/lib nBuilding C++ Boost.
>
> After the build, the headers will be located at
>
> /home/scott/RPM/BUILD/boost_1_39_0
>
> The libraries will be located at
>
> /home/scott/RPM/BUILD/boost_1_39_0/stage/lib
>
> Use 'bjam install --prefix=<path>' if you wish to install headers and
> libraries to a different location and remove the source tree.nn
> 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: 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.
> Note: Building Boost.Regex with Unicode/ICU support enabled
> Using ICU in
> /home/scott/RPM/BUILD/boost_1_39_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: <pstage/lib>libboost_date_time.so.1.39.0 error: previous virtual target {
> common%common.copy-libboost_date_time.so.1.39.0.SHARED_LIB {
> gcc%gcc.link.dll-libboost_date_time.so.1.39.0.SHARED_LIB {
> gcc%gcc.compile.c++-gregorian/greg_month.o.OBJ { gregorian/greg_month.cpp.CPP } } {
> gcc%gcc.compile.c++-gregorian/greg_weekday.o.OBJ {gregorian/greg_weekday.cpp.CPP } } {
> gcc%gcc.compile.c++-gregorian/date_generators.o.OBJ { gregorian/date_generators.cpp.CPP } } } }
>
> I have changed the original --layout= option in the specfile from --layout=system to
> --layout=tagged per Vladimir's suggestion here
> http://lists.boost.org/Archives/boost/2009/05/151541.php.
>
> Anyone have a suggestion?
It does not appear like --layout=tagged has any effect, which suggests you are
using 1.39.0 release, which does not support --layout=tagged.
You have to apply this patch from trunk:
------------------------------------------------------------------------
r53015 | vladimir_prus | 2009-05-15 09:23:56 +0400 (Fri, 15 May 2009) | 2 lines
Implement the 'tagged' layout.
- Volodya
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk