exim-doc/doc-docbook doesn't build

View: New views
2 Messages — Rating Filter:   Alert me  

exim-doc/doc-docbook doesn't build

by Simon Arlott :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

There's a reference to /home/tom/ in one of the source documents:

$ make everything
...
xmlto -x MyStyle-chunk-html.xsl -o spec_html html spec-html.xml
warning: failed to load external entity "/home/tom/share/xml/docbook/xsl/1.73.2/xhtml/chunk.xsl"
compilation error: file /tmp/exim/exim-doc/doc-docbook/MyStyle-chunk-html.xsl line 10 element import
xsl:import : unable to load /home/tom/share/xml/docbook/xsl/1.73.2/xhtml/chunk.xsl

7934a3bf        (Tom Kistner    2009-06-30 17:36:39 +0000       10)<xsl:import
href="/home/tom/share/xml/docbook/xsl/1.73.2/xhtml/chunk.xsl"/>

commit 7934a3bf04319d8081676f48693a518699a2dcf1
Author: Tom Kistner <tom@...>
Date:   Tue Jun 30 17:36:39 2009 +0000

    Fix errors preventing compilation

--
Simon Arlott

--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##

Re: exim-doc/doc-docbook doesn't build

by Simon Arlott :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 21/10/09 12:58, Simon Arlott wrote:
> There's a reference to /home/tom/ in one of the source documents:
>
> $ make everything
> ...
> xmlto -x MyStyle-chunk-html.xsl -o spec_html html spec-html.xml
> warning: failed to load external entity "/home/tom/share/xml/docbook/xsl/1.73.2/xhtml/chunk.xsl"
> compilation error: file /tmp/exim/exim-doc/doc-docbook/MyStyle-chunk-html.xsl line 10 element import
> xsl:import : unable to load /home/tom/share/xml/docbook/xsl/1.73.2/xhtml/chunk.xsl

The following fixes all the references to docbook files that don't
exist for me:

      sed -e 's:/home/tom/share/xml/docbook/xsl/1.73.2/xhtml/chunk.xsl:/usr/share/sgml/docbook/xsl-stylesheets/xhtml/chunk.xsl:' -i MyStyle-chunk-html.xsl
      sed -e 's:/usr/share/sgml/docbook/xsl-stylesheets-1.70.1/fo/docbook.xsl:/usr/share/sgml/docbook/xsl-stylesheets/fo/docbook.xsl:' -i MyStyle-filter-fo.xsl
      sed -e 's:/usr/share/sgml/docbook/xsl-stylesheets-1.70.1/xhtml/docbook.xsl:/usr/share/sgml/docbook/xsl-stylesheets/xhtml/docbook.xsl:' -i MyStyle-nochunk-html.xsl
      sed -e 's:/usr/share/sgml/docbook/xsl-stylesheets-1.70.1/fo/docbook.xsl:/usr/share/sgml/docbook/xsl-stylesheets/fo/docbook.xsl:' -i MyStyle-spec-fo.xsl
      sed -e 's:/usr/share/sgml/docbook/xsl-stylesheets-1.70.1/xhtml/docbook.xsl:/usr/share/sgml/docbook/xsl-stylesheets/xhtml/docbook.xsl:' -i MyStyle-txt-html.xsl
      sed -e 's:/usr/share/sgml/docbook/xsl-stylesheets-1.70.1/template/titlepage.xsl:/usr/share/sgml/docbook/xsl-stylesheets/template/titlepage.xsl:' -i MyTitlepage.templates.xml
      sed -e 's:/usr/share/sgml/docbook/xsl-stylesheets-1.70.1/:/usr/share/sgml/docbook/xsl-stylesheets/:' -i OS-Fixups

--
Simon Arlott


--
## List details at http://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##

smime.p7s (4K) Download Attachment