|
Boost-Build : |
Subject: Re: [Boost-build] problems w/ generating pdf documentation
From: Maurizio Vitale (mav_at_[hidden])
Date: 2009-05-18 17:28:57
>>>>> "Vladimir" == Vladimir Prus <vladimir_at_[hidden]> writes:
Vladimir> Maurizio Vitale wrote:
>>
>> 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
Vladimir> The above indicates that
Vladimir> /library/repositories/boost/tools/build/v2/user-config.jam
Vladimir> is opened.
Yep. I didn't pay enough attention. Of course one may wonder why the
other file is stat'd, found to be present and then not used.
>> The content of /library/repositories/boost/user-config.jam is:
Vladimir> You are giving content of a different file.
>> using quickbook;
Vladimir> You are missing space before ";".
Yep. Somebody else mentioned this. It is so 80s. And early 80s at that.
>> 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
Vladimir> At this point, Boost.Build has read config files, and has
Vladimir> read Jamfile, and have started to construct low-level
Vladimir> targets from high-level targets defined in Jamfiles. But
Vladimir> -- I don't see any error about missing space, which
Vladimir> indicates that the user-config.jam you have pasted is not
Vladimir> the one loaded. As I have said on IRC,
Vladimir> --debug-configuration is the right way to find user config
Vladimir> that is loaded. See also:
Vladimir> http://www.boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html
Vladimir> for explanation what locations are loaded. Please add the
Vladimir> missing space, and make sure the user-config.jam you have
Vladimir> posted is loaded, and see if that helps.
I've got the right file and I've put the right space into it.
Now I get in troubles with fop:
$ bjam --v2 pdf
/library/repositories/boost/tools/build/v2/build/type.jam:146: in type.validate from module type
error: Unknown target type FO
/library/repositories/boost/tools/build/v2/kernel/modules.jam:103: in modules.call-in from module object(generator)@64
/library/repositories/boost/tools/build/v2/util/sequence.jam:48: in sequence.transform from module sequence
/library/repositories/boost/tools/build/v2/build/generators.jam:227: in object(generator)@64.__init__ from module object(generator)@64
/library/repositories/boost/tools/build/v2/kernel/class.jam:88: in new from module class
/library/repositories/boost/tools/build/v2/build/generators.jam:786: in generators.register-standard from module generators
/library/repositories/boost/tools/build/v2/tools/fop.jam:14: in load from module fop
/library/repositories/boost/tools/build/v2/kernel/modules.jam:283: in import from module modules
/library/repositories/boost/tools/build/v2/build/toolset.jam:37: in toolset.using from module toolset
/library/repositories/boost/tools/build/v2/build/project.jam:874: in using from module user-config
/library/repositories/boost/tools/build/v2/user-config.jam:10: in modules.load from module user-config
/library/repositories/boost/tools/build/v2/build-system.jam:241: in load-config from module build-system
/library/repositories/boost/tools/build/v2/build-system.jam:383: in load-configuration-files from module build-system
/library/repositories/boost/tools/build/v2/build-system.jam:538: in load from module build-system
/library/repositories/boost/tools/build/v2/kernel/modules.jam:283: in import from module modules
/library/repositories/boost/tools/build/v2/kernel/bootstrap.jam:138: in boost-build from module
/library/repositories/boost/boost-build.jam:17: in module scope from module
Thanks for the help you gave to me up to now. I don't need anything
more. I'll stick with reading documentation with a web browser.
Thanks again,
Maurizio
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