On 28 August 2010 01:35, James Richard Tyrer <[email protected]> wrote:
>  I had to reinstall version 4.2 of:
>
>     DocBook SGML DTD
>     DocBook XML DTD
>
> to build KDE-4.5 and now I seem to be missing something.  When building:
> "polkit-0.97" I have an error stating that it can't find the necessary
> XSL file:
>
> I/O error : Attempt to load network entity
> http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
>
> I installed: docbook-xsl-1.75.2 according to the BLFS instructions.
>
> I checked and the file:
>
> /usr/share/xml/docbook/xsl-stylesheets-1.75.2/manpages/docbook.xsl
>
> exists.  I checked the catalog:
>
> /etc/xml/catalog
>
> and there is a line:
>
> <rewriteURI
> uriStartString="http://docbook.sourceforge.net/release/xsl/current";
> rewritePrefix="/usr/share/xml/docbook/xsl-stylesheets-1.75.2"/>
>
> which appears to be correct.
>
> The command which is failing is:
>
> /usr/bin/xsltproc -nonet --stringparam man.base.url.for.relative.links
> /usr/share/gtk-doc/html/polkit-1/ --xinclude
> http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
> polkit.xml
>
> If I remove: "-nonet", then it uses the file from the internet and works
> correctly.  I have checked and the local file is identical.
>
> Obviously, I am missing something.
>
> --
 Dunno, docbook is a pain if it isn't set up correctly.  But in my xml
catalog here, on the line before that I have

 <rewriteSystem
systemIdStartString="http://docbook.sourceforge.net/release/xsl/current";
rewritePrefix="/usr/share/xml/docbook/xsl-stylesheets-1.73.2"/>

(so, I haven't updated my stylesheets) - maybe you missed the
rewrite System line (the third of the additions to xmlcatalog ?

ĸen
-- 
After tragedy, and farce, "OMG poneys!"
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to