Re: [Boost-docs] can not generate docs

Subject: Re: [Boost-docs] can not generate docs
From: Oliver Kowalke (k-oli_at_[hidden])
Date: 2009-11-21 19:25:43


Steven Watanabe wrote:
> AMDG
>
> (Sorry. I meant to send this to the list)
>
> Oliver Kowalke wrote:
>> I modified the jam file and I get now other errors:
>>
>> <snip>
>> xslt-xsltproc-dir html/standalone_HTML.manifest
>> warning: failed to load external entity
>> "http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"
>> compilation error: file
>> /opt/boost_1_41_0_src/tools/boostbook/xsl/html.xsl line 15 element
>> import
>> <snip>
>>
>> XML_CATALOG_FILES=../../../bin.v2/boostbook_catalog.xml
>> export XML_CATALOG_FILES
>> "/usr/bin/xsltproc" --stringparam boost.libraries
>> "../../../libraries.htm" --stringparam boost.root "../../../.."
>> --stringparam chunk.section.depth "1" --stringparam manifest
>> "standalone_HTML.manifest" --stringparam toc.max.depth "2"
>> --stringparam toc.section.depth "2" --xinclude -o "html/"
>> "/opt/boost_1_41_0_src/tools/boostbook/xsl/html.xsl"
>> "../../../bin.v2/libs/optional/doc/gcc-4.3.4/debug/optional.docbook"
>>
>> ...failed xslt-xsltproc-dir html/standalone_HTML.manifest...
>> ...failed updating 1 target...
>>
>> I'm wondering that bjam requires access to the web-server? Or do I
>> miss some xsl files in installation?
>
> The catalog file is supposed to rewrite the URLs to the local copies.
> Somehow
> it isn't working properly. Can you post it?
>
> In Christ,
> Steven Watanabe
>
>
> _______________________________________________
> Boost-docs mailing list
> Boost-docs_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-docs
>
OK - the cata log file looks like this (from ):

 # cat ../../../bin.v2/boostbook_catalog.xml

<?xml version="1.0"?>
<!DOCTYPE catalog
  PUBLIC "-//OASIS/DTD Entity Resolution XML Catalog V1.0//EN"
  "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
  <rewriteURI uriStartString="http://www.boost.org/tools/boostbook/dtd/"
rewritePrefix="file:///opt/boost_1_41_0_src/tools/boostbook/dtd/"/>
  <rewriteURI
uriStartString="http://docbook.sourceforge.net/release/xsl/current/"
rewritePrefix="file:///usr/share/xml/docbook/stylesheet/nwalsh/"/>
  <rewriteURI
uriStartString="http://www.oasis-open.org/docbook/xml/4.2/"
rewritePrefix="file:///usr/share/xml/docbook/schema/dtd/4.2/"/>
</catalog>

# ls /opt/boost_1_41_0_src/tools/boostbook/dtd/
1.1/ boostbook.dtd

# ls /usr/share/xml/docbook/stylesheet/nwalsh/
ls: Zugriff auf /usr/share/xml/docbook/stylesheet/nwalsh/ nicht möglich:
file or directory not found

# ls /usr/share/xml/docbook/schema/dtd/4.2/
calstblx.dtd catalog catalog.xml dbcentx.mod dbgenent.mod@
dbhierx.mod dbnotnx.mod dbpoolx.mod docbook.cat@ docbookx.dtd ent@
soextblx.dtd

It seams that the ominous nwalsh/ is missing.

best regards,
Oliver


This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:41 UTC