Re: [Boost-docs] [boostbook] doc build broken on cygwin

Subject: Re: [Boost-docs] [boostbook] doc build broken on cygwin
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2010-06-09 10:55:13


I've got what looks like a similar problem re-building previously OK docs under Windows.

local-boost-root = I:\boost_trunk (recently updated)
quickbook.quickbook-to-boostbook ..\bin.v2\doc\msvc-9.0\debug\threading-multi\quick_auto_dox_index.xml
Generating Output File: ..\bin.v2\doc\msvc-9.0\debug\threading-multi\quick_auto_dox_index.xml
doxygen-action ..\bin.v2\doc\msvc-9.0\debug\threading-multi\autodoc-xml.xml-dir
<snips>
Generate XML output for dir I:/boost-sandbox/tools/quick_auto_dox_index/boost/quick_auto_dox_index/
Generating XML output for the main page
xslt-xsltproc ..\bin.v2\doc\msvc-9.0\debug\threading-multi\autodoc-xml.doxygen
xslt-xsltproc ..\bin.v2\doc\msvc-9.0\debug\threading-multi\autodoc-xml.boostbook
common.copy autodoc.xml
..\bin.v2\doc\msvc-9.0\debug\threading-multi\autodoc-xml.boostbook
        1 file(s) copied.
xslt-xsltproc
..\bin.v2\doc\msvc-9.0\debug\auto-index-internal-on\auto-index-on\threading-multi\quick_auto_dox_index.docbook
../bin.v2/doc/msvc-9.0/debug/threading-multi/quick_auto_dox_index.xml:2: warning: failed to load external entity
"http://www.boost.org/tools/boostbook/dtd/boostbook.dtd"
BoostBook XML V1.0//EN" "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd"
                                                                               ^
auto-index.auto-index
..\bin.v2\doc\msvc-9.0\debug\auto-index-internal-on\auto-index-on\threading-multi\quick_auto_dox_index.modified.docbook
Indexing 79 terms...
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 I:/boost_trunk/tools/boostbook/xsl/html.xsl line 16 element import
xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
...
<snipped>

I've tried adding

using xstlproc ;

but makes no difference.

For pdf generation:

common.copy autodoc.xml
..\bin.v2\doc\msvc-9.0\debug\threading-multi\autodoc-xml.boostbook
        1 file(s) copied.
xslt-xsltproc ..\bin.v2\doc\msvc-9.0\debug\auto-index-on\threading-multi\quick_auto_dox_index.docbook
../bin.v2/doc/msvc-9.0/debug/threading-multi/quick_auto_dox_index.xml:2: warning: failed to load external entity
"http://www.boost.org/tools/boostbook/dtd/boostbook.dtd"
BoostBook XML V1.0//EN" "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd"
                                                                               ^
auto-index.auto-index ..\bin.v2\doc\msvc-9.0\debug\auto-index-on\threading-multi\quick_auto_dox_index.modified.docbook
Indexing 79 terms...
xslt-xsltproc ..\bin.v2\doc\msvc-9.0\debug\auto-index-on\threading-multi\quick_auto_dox_index.modified.fo
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"
compilation error: file I:/boost_trunk/tools/boostbook/xsl/fo.xsl line 14 element import
xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl

Suggestions?

Paul

> -----Original Message-----
> From: boost-docs-bounces_at_[hidden] [mailto:boost-docs-bounces_at_[hidden]] On Behalf Of Eric Niebler
> Sent: Thursday, June 03, 2010 9:09 PM
> To: Discussion of Boost Documentation
> Subject: Re: [Boost-docs] [boostbook] doc build broken on cygwin
>
> On 6/3/2010 3:00 PM, Steven Watanabe wrote:
> > AMDG
> >
> > Eric Niebler wrote:
> >> Not there yet ...
> >> <snip>
> >> warning: failed to load external entity "reference.xsl"
> >> compilation error: file
> >> C%3A%5Ccygwin%5Chome%5CEric%5Cboost%5Corg%5Ctrunk%5Ctools%5Cboostbook%5Cxsl%
> >>
> >> 5Cdocbook.xsl line 13 element include
> >> xsl:include : unable to load reference.xsl
> >> <snip>
> >>
> >
> > Oh. I see what the problem is. You don't have
> > using xsltproc ;
> > so the code for detecting cygwin vs. windows
> > never gets called. It should work now.
>
> Bingo. Thanks!
>
> --
> Eric Niebler
> BoostPro Computing
> http://www.boostpro.com
> _______________________________________________
> Boost-docs mailing list
> Boost-docs_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-docs


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