|
Boost-Build : |
From: Edward Diener (eldiener_at_[hidden])
Date: 2007-11-18 12:57:40
Vladimir Prus wrote:
> Edward Diener wrote:
>
>> Because I wanted to read documentation on some of the new libraries in
>> the latest Boost SVN repository, which existed only in XML format, it
>> was time to go through the annual rite of attempting to use Doug
>> Gregor's excellent documention of "The Boostbook Documentation Format"
>> in order to setup the documentation system to generate documentation
>> using bjam. Although Mr. Gregor's documentation is extremely good, I
>> have never been completely successful in the past, but I had my fingers
>> crossed in hopeful expectation this time. I am doing this on Windows so
>> I have to set things up manually.
>>
>> 1) I downloaded xsltproc and doxygen successfully, and "installed" them
>> into appropriate directories and, to make things easy for myself, put
>> those directories in my PATH.
>>
>> 2) After making sure I had no .jam file of any kind in my home directory
>> I went to the \tools\build\v2\user-config,jam in the directory in which
>> the latest Boost Subversion resides, and added the line:
>>
>> using xsltproc ;
>>
>> 3) I downloaded the latest XSL stylesheets and Docbook DTD and put them
>> in their own separate directies, "E:\Utilities\docbook-xsl-1.73.2" and
>> "E:\Utilities\docbook-dtd-4.2".
>>
>> 4) I added to my user-config.jam the lines:
>>
>> # BoostBook configuration
>> using boostbook
>> : E:/Utilities/docbook-xsl-1.73.2
>> : E:/Utilities/docbook-dtd-4.2
>> ;
>>
>> 5) Now further following instructions to test out my installation so far
>> I went to the \libs\function\doc after copying boostbook.css from the
>> \doc\html directory, and tried the bjam command. My result is:
>>
>> "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.
>> Building Boost.Regex with the optional Unicode/ICU support disabled.
>> Please refer to the Boost.Regex documentation for more information
>> (don't panic: this is a strictly optional feature).
>> E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2/tools\boostbook.jam:300:
>> in object(boostbook-generator)@326.run
>> warning: rulename $(base-target).depends expands to empty string
>
> 1. Add --debug-generators option to bjam and send the the output.
> 2. Try adding
>
> using doxygen ;
>
> to user-config.jam
Adding the 'using doxygen ;' command made no difference. After adding
the --debug-geberators to the bjam command line I get:
"E:\Programming\Version Control\Subversion\Boost\libs\function\doc>bjam
--v2 --debug-generators
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.
Building Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to the Boost.Regex documentation for more information
(don't panic: this is a strictly optional feature).
*** construct BOOSTBOOK_MAIN
from { function.xml.XML }
properties: <asynch-exceptions>off
<conditional>@Jamfile</E:/Programmin
g/Version Control/Subversion/Boost>%Jamfile</E:/Programming/Version
Control/Subv
ersion/Boost>.handle-static-runtime <debug-store>object
<debug-symbols>on <defin
e>BOOST_ALL_NO_LIB=1 <exception-handling>on <extern-c-nothrow>off
<format>html <
hardcode-dll-paths>true <host-os>windows <include>../../.. <inlining>off
<instal
l-dependencies>off <link>shared <main-target-type>BOOSTBOOK_MAIN
<midl-robust>ye
s <midl-stubless-proxy>yes <optimization>off <os>NT <pch>on
<profiling>off <pyth
on-debugging>off <python>2.5 <rtti>on <runtime-debugging>on
<runtime-link>shared
<stdlib>native <suppress-import-lib>false
<symlink-location>project-relative <t
ag>@Jamfile</E:/Programming/Version
Control/Subversion/Boost>%Jamfile</E:/Progra
mming/Version Control/Subversion/Boost>.tag <target-os>windows
<threadapi>win32
<threading>multi <toolset-msvc:version>8.0 <toolset>msvc
<user-interface>console
<variant>debug <warnings-as-errors>off <warnings>on
find-viable-generators target-type= BOOSTBOOK_MAIN property-set=
msvc-8.0/d
ebug/threading-multi
trying type BOOSTBOOK_MAIN
there are generators for this type
trying generator boostbook.main ( -> BOOSTBOOK_MAIN )
is viable
*** 1 viable generators
*** construct DOCBOOK
from { function.xml.XML }
properties: <asynch-exceptions>off
<catalog>..\..\..\bin.v2\libs\fu
nction\doc\msvc-8.0\debug\threading-multi/catalog.xml
<conditional>@Jamfile</E:/
Programming/Version
Control/Subversion/Boost>%Jamfile</E:/Programming/Version Co
ntrol/Subversion/Boost>.handle-static-runtime <debug-store>object
<debug-symbols
>on <define>BOOST_ALL_NO_LIB=1 <exception-handling>on
<extern-c-nothrow>off <for
mat>html <hardcode-dll-paths>true <host-os>windows <include>../../..
<inlining>o
ff <install-dependencies>off <link>shared
<main-target-type>BOOSTBOOK_MAIN <midl
-robust>yes <midl-stubless-proxy>yes <optimization>off <os>NT <pch>on
<profiling
>off <python-debugging>off <python>2.5 <rtti>on <runtime-debugging>on
<runtime-l
ink>shared <stdlib>native <suppress-import-lib>false
<symlink-location>project-r
elative <tag>@Jamfile</E:/Programming/Version
Control/Subversion/Boost>%Jamfile<
/E:/Programming/Version Control/Subversion/Boost>.tag <target-os>windows
<thread
api>win32 <threading>multi <toolset-msvc:version>8.0 <toolset>msvc
<user-interfa
ce>console <variant>debug <warnings-as-errors>off <warnings>on
find-viable-generators target-type= DOCBOOK property-set=
msvc-8.0/debu
g/threading-multi
trying type DOCBOOK
trying type XML
*** 0 viable generators
E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2/tools\boostbook.jam:300:
in object(boostbook-generator)@326.run
warning: rulename $(base-target).depends expands to empty string
E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2/build\generators.jam:840
: in try-one-generator-really
E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2/build\generators.jam:902
: in try-one-generator
E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2/build\generators.jam:111
0: in construct-really
E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2/build\generators.jam:118
6: in generators.construct
E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2/build\targets.jam:1398:
in construct
E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2/build\targets.jam:1242:
in object(typed-target)@327.generate
E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2/build\targets.jam:765:
i
n generate-really
E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2/build\targets.jam:738:
i
n object(main-target)@331.generate
E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2/build\targets.jam:255:
i
n object(project-target)@325.generate
E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2\build-system.jam:402:
in
load
E:\Utilities\BoostLibraries\boost_1_34_0\tools\build\v2/kernel\modules.jam:261:
in import
E:\Utilities\BoostLibraries\boost_1_34_0\tools\build\v2/kernel/bootstrap.jam:132
: in boost-build
E:\Programming\Version Control\Subversion\Boost\boost-build.jam:9: in
module sco
pe
*** construct HTMLDIR
properties: <asynch-exceptions>off
<catalog>..\..\..\bin.v2\libs\fu
nction\doc\msvc-8.0\debug\threading-multi/catalog.xml
<conditional>@Jamfile</E:/
Programming/Version
Control/Subversion/Boost>%Jamfile</E:/Programming/Version Co
ntrol/Subversion/Boost>.handle-static-runtime <debug-store>object
<debug-symbols
>on <define>BOOST_ALL_NO_LIB=1 <exception-handling>on
<extern-c-nothrow>off <for
mat>html <hardcode-dll-paths>true <host-os>windows <include>../../..
<inlining>o
ff <install-dependencies>off <link>shared
<main-target-type>BOOSTBOOK_MAIN <midl
-robust>yes <midl-stubless-proxy>yes <optimization>off <os>NT <pch>on
<profiling
>off <python-debugging>off <python>2.5 <rtti>on <runtime-debugging>on
<runtime-l
ink>shared <stdlib>native <suppress-import-lib>false
<symlink-location>project-r
elative <tag>@Jamfile</E:/Programming/Version
Control/Subversion/Boost>%Jamfile<
/E:/Programming/Version Control/Subversion/Boost>.tag <target-os>windows
<thread
api>win32 <threading>multi <toolset-msvc:version>8.0 <toolset>msvc
<user-interfa
ce>console <variant>debug <warnings-as-errors>off <warnings>on
find-viable-generators target-type= HTMLDIR property-set=
msvc-8.0/debu
g/threading-multi
trying type HTMLDIR
*** 0 viable generators
E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2/tools\boostbook.jam:307:
in object(boostbook-generator)@326.run
warning: rulename $(target[2]).set-path expands to empty string
E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2/build\generators.jam:840
: in try-one-generator-really
E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2/build\generators.jam:902
: in try-one-generator
E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2/build\generators.jam:111
0: in construct-really
E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2/build\generators.jam:118
6: in generators.construct
E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2/build\targets.jam:1398:
in construct
E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2/build\targets.jam:1242:
in object(typed-target)@327.generate
E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2/build\targets.jam:765:
i
n generate-really
E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2/build\targets.jam:738:
i
n object(main-target)@331.generate
E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2/build\targets.jam:255:
i
n object(project-target)@325.generate
E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2\build-system.jam:402:
in
load
E:\Utilities\BoostLibraries\boost_1_34_0\tools\build\v2/kernel\modules.jam:261:
in import
E:\Utilities\BoostLibraries\boost_1_34_0\tools\build\v2/kernel/bootstrap.jam:132
: in boost-build
E:\Programming\Version Control\Subversion\Boost\boost-build.jam:9: in
module sco
pe
E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2/tools\boostbook.jam:308:
in object(boostbook-generator)@326.run
warning: rulename $(target[2]).depends expands to empty string
E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2/build\generators.jam:840
: in try-one-generator-really
E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2/build\generators.jam:902
: in try-one-generator
E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2/build\generators.jam:111
0: in construct-really
E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2/build\generators.jam:118
6: in generators.construct
E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2/build\targets.jam:1398:
in construct
E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2/build\targets.jam:1242:
in object(typed-target)@327.generate
E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2/build\targets.jam:765:
i
n generate-really
E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2/build\targets.jam:738:
i
n object(main-target)@331.generate
E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2/build\targets.jam:255:
i
n object(project-target)@325.generate
E:/Utilities/BoostLibraries/boost_1_34_0/tools/build/v2\build-system.jam:402:
in
load
E:\Utilities\BoostLibraries\boost_1_34_0\tools\build\v2/kernel\modules.jam:261:
in import
E:\Utilities\BoostLibraries\boost_1_34_0\tools\build\v2/kernel/bootstrap.jam:132
: in boost-build
E:\Programming\Version Control\Subversion\Boost\boost-build.jam:9: in
module sco
pe
returned
generator boostbook.main spawned
warn: Unable to construct ./function-doc
find-viable-generators target-type= BOOSTBOOK_MAIN property-set=
msvc-8.0/debug/
threading-multi
trying type BOOSTBOOK_MAIN
there are generators for this type
trying generator boostbook.main ( -> BOOSTBOOK_MAIN )
is viable
...found 1 target..."
Eddie
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