Boost logo

Boost-Build :

Subject: [Boost-build] boost 1.54: problem with building documentation.
From: Paul K (mafeuser_at_[hidden])
Date: 2016-02-27 13:45:52


Hallo people.

I need to have documentation in man pages format on my ubuntu 14.04.
Unfortunatelly, I fail with this task.
The following are the steps I've performed.

In step 11 I do "../b2" instead "../b2 man" just to highlight that the
problem is not related to building the man pages. Of course "../b2
man" fails as well

Could You please help me with it?

1. install following packages for man pages build.
   lubuntu.14.04$ sudo apt-get install xsltproc
   lubuntu.14.04$ sudo apt-get install doxygen
2. lubuntu.14.04$ dpkg --list | grep libboost-all
   ii libboost-all-dev 1.54.0.1ubuntu1 i386 Boost C++
Libraries development files (ALL) (default version)
3. download boost_1_54_0.tar.bz2, unpack to ~/
4. cd ~/boost_1_54_0
5. ./bootstrap
   prepares build configuration and puts it to project-config.jam.
6. ./b2
   builds whole the boost libraries, but does not install them into the system.
7. lubuntu.14.04$ export BOOST_ROOT=/home/userp/boost_1_54_0
8. lubuntu.14.04$ cd ~/boost.doc/
9. lubuntu.14.04$ ~/boost_1_54_0/tools/boostbook/setup_boostbook.sh
   Downloading DocBook XSLT Stylesheets version 1.75.2...
   Expanding DocBook XSLT Stylesheets into
/home/userp/boost.doc/docbook-xsl-1.75.2...done.
   Downloading DocBook XML DTD version 4.2...
   Expanding DocBook XML DTD into /home/userp/boost.doc/docbook-dtd-4.2... done.
   Searching for xsltproc... /usr/bin/xsltproc.
   Searching for Doxygen... /usr/bin/doxygen.
   Searching for Java... /usr/bin/java.
   Downloading FOP distribution version 0.94...
   Expanding FOP distribution into /home/userp/boost.doc/fop-0.94... done.
   Updating Boost.Jam configuration in /home/userp/user-config.jam... done.
   Done! Execute "bjam --v2" in a documentation directory to generate
   documentation with BoostBook. If you have not already, you will need
   to compile Boost.Jam.
10. lubuntu.14.04$ cd ~/boost_1_54_0/doc
11. lubuntu.14.04$ ../b2
   Performing configuration checks

       - has_icu builds : yes (cached)
   /home/userp/boost_1_54_0/tools/build/v2/build/virtual-target.jam:1099:
in virtual-target.register-actual-name from module virtual-target
   error: Duplicate name of actual target:
<p../bin.v2/libs/filesystem/build/gcc-4.9.3/release/link-static>libboost_filesystem.a
   error: previous virtual target {
gcc%gcc.archive-libboost_filesystem.a.STATIC_LIB {
gcc%gcc.compile.c++-codecvt_error_category.o.OBJ {
codecvt_error_category.cpp.CPP } } {
gcc%gcc.compile.c++-operations.o.OBJ { operations.cpp.CPP } } {
gcc%gcc.compile.c++-path.o.OBJ { path.cpp.CPP } } {
gcc%gcc.compile.c++-path_traits.o.OBJ { path_traits.cpp.CPP } } {
gcc%gcc.compile.c++-portability.o.OBJ { portability.cpp.CPP } } {
gcc%gcc.compile.c++-unique_path.o.OBJ { unique_path.cpp.CPP } } {
gcc%gcc.compile.c++-utf8_codecvt_facet.o.OBJ {
utf8_codecvt_facet.cpp.CPP } } {
gcc%gcc.compile.c++-windows_file_codecvt.o.OBJ {
windows_file_codecvt.cpp.CPP } } }
   error: created from ../libs/filesystem/build/boost_filesystem
   error: another virtual target {
gcc%gcc.archive-libboost_filesystem.a.STATIC_LIB {
gcc%gcc.compile.c++-codecvt_error_category.o.OBJ {
codecvt_error_category.cpp.CPP } } {
gcc%gcc.compile.c++-operations.o.OBJ { operations.cpp.CPP } } {
gcc%gcc.compile.c++-path.o.OBJ { path.cpp.CPP } } {
gcc%gcc.compile.c++-path_traits.o.OBJ { path_traits.cpp.CPP } } {
gcc%gcc.compile.c++-portability.o.OBJ { portability.cpp.CPP } } {
gcc%gcc.compile.c++-unique_path.o.OBJ { unique_path.cpp.CPP } } {
gcc%gcc.compile.c++-utf8_codecvt_facet.o.OBJ {
utf8_codecvt_facet.cpp.CPP } } {
gcc%gcc.compile.c++-windows_file_codecvt.o.OBJ {
windows_file_codecvt.cpp.CPP } } }
   error: created from ../libs/filesystem/build/boost_filesystem
   error: added properties: <auto-index-internal>off
<auto-index-no-duplicates>off <auto-index-section-names>on
<auto-index-verbose>off <auto-index>off <format>docbook
   error: removed properties: <format>html
   /home/userp/boost_1_54_0/tools/build/v2/build/virtual-target.jam:484:
in actualize-no-scanner from module object(file-target)@3468
   /home/userp/boost_1_54_0/tools/build/v2/build/virtual-target.jam:134:
in class_at_virtual-target.actualize from module object(file-target)@3468
   /home/userp/boost_1_54_0/tools/build/v2/build/virtual-target.jam:815:
in actualize-source-type from module object(action)@3786
   /home/userp/boost_1_54_0/tools/build/v2/build/virtual-target.jam:836:
in actualize-sources from module object(action)@3786
   /home/userp/boost_1_54_0/tools/build/v2/build/virtual-target.jam:776:
in class_at_action.actualize from module object(action)@3786
   /home/userp/boost_1_54_0/tools/build/v2/build/virtual-target.jam:311:
in actualize-action from module object(file-target)@3787
   /home/userp/boost_1_54_0/tools/build/v2/build/virtual-target.jam:493:
in actualize-no-scanner from module object(file-target)@3787
   /home/userp/boost_1_54_0/tools/build/v2/build/virtual-target.jam:134:
in class_at_virtual-target.actualize from module object(file-target)@3787
   /home/userp/boost_1_54_0/tools/build/v2/build/virtual-target.jam:815:
in actualize-source-type from module object(action)@3793
   /home/userp/boost_1_54_0/tools/build/v2/build/virtual-target.jam:834:
in actualize-sources from module object(action)@3793
   /home/userp/boost_1_54_0/tools/build/v2/build/virtual-target.jam:776:
in class_at_action.actualize from module object(action)@3793
   /home/userp/boost_1_54_0/tools/build/v2/build/virtual-target.jam:311:
in actualize-action from module object(file-target)@3794
   /home/userp/boost_1_54_0/tools/build/v2/build/virtual-target.jam:493:
in actualize-no-scanner from module object(file-target)@3794
   /home/userp/boost_1_54_0/tools/build/v2/build/virtual-target.jam:134:
in class_at_virtual-target.actualize from module object(file-target)@3794
   /home/userp/boost_1_54_0/tools/build/v2/build/virtual-target.jam:815:
in actualize-source-type from module object(action)@7122
   /home/userp/boost_1_54_0/tools/build/v2/build/virtual-target.jam:834:
in actualize-sources from module object(action)@7122
   /home/userp/boost_1_54_0/tools/build/v2/build/virtual-target.jam:776:
in class_at_action.actualize from module object(action)@7122
   /home/userp/boost_1_54_0/tools/build/v2/build/virtual-target.jam:311:
in actualize-action from module object(file-target)@7123
   /home/userp/boost_1_54_0/tools/build/v2/build/virtual-target.jam:493:
in actualize-no-scanner from module object(file-target)@7123
   /home/userp/boost_1_54_0/tools/build/v2/build/virtual-target.jam:134:
in class_at_virtual-target.actualize from module object(file-target)@7123
   /home/userp/boost_1_54_0/tools/build/v2/build-system.jam:720: in
load from module build-system
   /home/userp/boost_1_54_0/tools/build/v2/kernel/modules.jam:289: in
import from module modules
   /home/userp/boost_1_54_0/tools/build/v2/kernel/bootstrap.jam:139:
in boost-build from module
   /home/userp/boost_1_54_0/boost-build.jam:17: in module scope from module


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