|
Boost-Build : |
From: Reece Dunn (msclrhd_at_[hidden])
Date: 2004-02-05 09:21:43
Hi all,
I am trying to set up DocBook/BoostBook on my machine. It works fine when
I'm connected to the internet - I get:
xslt-xsltproc-dir html\HTML.manifest
Writing ...
However, when I am not connected to the internet, I get the following:
[bjam]
XXX
...found 14 targets...
...updating 1 target...
xslt-xsltproc-dir html\HTML.manifest
xmlNanoHTTPConnectHost: Failed to resolve host 'docbook.sourceforge.net' -
Valid name, no data record of requested type.xmlNanoHTTPConnectHost: Failed
to resolve host 'docbook.sourceforge.net' - Valid name, no data record of
requested type.warning: failed to load external entity
"http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"
compilation error: file
D:\devel\libraries\Boost\boost\tools\boostbook\xsl\html.
xsl line 8 element import
xsl:import : unable to load
http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
xmlNanoHTTPConnectHost: Failed to resolve host 'www.oasis-open.org' - Valid
name, no data record of requested type.xmlNanoHTTPConnectHost: Failed to
resolve host 'www.oasis-open.org' - Valid name, no data record of requested
type.bin\gcc\debug\boostbook.docbook:2: warning: failed to load external
entity "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
D DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd
^
...updated 1 target...
[bjam]
I am running bjam --v2 from the boost/tools/boostbook/doc directory. I know
this problem is something to do with the way I have configured BoostBook,
but don't know what I am doing wrong. I have the following line in
user-config.jam:
using boostbook
: h:/iisweb/web/xslt/www/docbook-xsl-1.64.1/
: h:/iisweb/web/dtd/docbook-xml-4.2/
;
Where those directories contain the XSLT from
http://docbook.sourceforge.net/ and the DTD from
http://www.oasis-open.org/docbook/xml/4.2/index.shtml (the zip file). I get
the following catalog being generated ( ECHO $(text) ; ):
[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:///D:/devel/libraries/Boost/boost/tools/boostbook/dtd//"/>
<rewriteURI
uriStartString="http://docbook.sourceforge.net/release/xsl/current/"
rewritePrefix="file:///h:/iisweb/web/xslt/www/docbook-xsl-1.64.1/"/>
<rewriteURI uriStartString="http://www.oasis-open.org/docbook/xml/4.2/"
rewritePrefix="file:///h:/iisweb/web/dtd/docbook-xml-4.2/"/>
</catalog>
[/xml]
What am I doing wrong?
Regards,
Reece
_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today!
http://www.msn.co.uk/messenger
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