On 08/28/10 03:43, Andrew Benton wrote: > On 28/08/10 01:35, James Richard Tyrer 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. >> > Try: > > xmlcatalog --noout --add "delegateSystem" \ > "http://docbook.sourceforge.net/release/xsl/current/" \ > "/usr/share/xml/docbook/docbook-xsl-1.75.2/catalog.xml" /etc/xml/catalog > xmlcatalog --noout --add "delegateURI" \ > "http://docbook.sourceforge.net/release/xsl/current/" \ > "/usr/share/xml/docbook/docbook-xsl-1.75.2/catalog.xml" /etc/xml/catalog > > I can't remember why I started adding those "delegate" entries (lost in > the time before I started using git). If that doesn't help, can we see > the whole of /etc/xml/catalog please? Thanks Andy. I found that I did make some errors trying to install both 4.2 and 4.5 of the DTDs. So, I am doing a reinstall. So, I will get back to you in a while.
-- James Tyrer Linux (mostly) From Scratch -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
