Boost logo

Boost-Build :

Subject: Re: [Boost-build] problems w/ generating pdf documentation
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-05-16 03:36:37


Maurizio Vitale wrote:

>
> Per volodya's request on the #boost irc channel, here're details on the problem I'm having:
> (I've separated different part with new pages ^L)
>
> I'm running bjam inside the proto doc directory (this is boost svn's head of earlier on today)
> These are the user-config.jam files which are read in.
>
> mav at cuma in /library/repositories/boost/libs/proto/doc
> $ strace bjam --v2 pdf 2>&1 | grep user-config.jam
> stat("/library/repositories/boost/user-config.jam", {st_mode=S_IFREG|0644, st_size=394, ...}) = 0
> stat("/library/repositories/boost/tools/build/v2/user-config.jam", {st_mode=S_IFREG|0644,
> st_size=2761, ...}) = 0 stat("/library/repositories/boost/tools/build/v2/./user-config.jam",
> {st_mode=S_IFREG|0644, st_size=2761, ...}) = 0
> open("/library/repositories/boost/tools/build/v2/user-config.jam", O_RDONLY) = 4
> stat("../../../user-config.jam", {st_mode=S_IFREG|0644, st_size=394, ...}) = 0

The above indicates that

        /library/repositories/boost/tools/build/v2/user-config.jam

is opened.

> The content of /library/repositories/boost/user-config.jam is:

You are giving content of a different file.

> using quickbook;

You are missing space before ";".

> The log obtained by running with --debug-generators is the following (the high level error is the
> inability of building 'standalone')
>
> mav at cuma in /library/repositories/boost/libs/proto/doc
> $ bjam --v2 --debug-generators pdf
> warning: ICU shared common library not found in path.
> hint: If the regex library fails to link then try again
> with the environment variable ICU_LINK set to contain
> the linker options required to link to ICU.
> Defaulting to look for libicuuc ...
> LINUX
> warning: ICU shared data library not found in path.
> hint: If the regex library fails to link then try again
> with the environment variable ICU_LINK set to contain
> the linker options required to link to ICU.
> *** construct XML
> from { proto.qbk.QUICKBOOK }
> properties: <asynch-exceptions>off

At this point, Boost.Build has read config files, and has read Jamfile, and have
started to construct low-level targets from high-level targets defined in Jamfiles.
But -- I don't see any error about missing space, which indicates that the user-config.jam
you have pasted is not the one loaded. As I have said on IRC, --debug-configuration is
the right way to find user config that is loaded. See also:

        http://www.boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html

for explanation what locations are loaded. Please add the missing space, and make
sure the user-config.jam you have posted is loaded, and see if that helps.

- Volodya


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