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? Andy
See attached. -- James Tyrer Linux (mostly) From Scratch
<?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"> <delegatePublic publicIdStartString="-//OASIS//ENTITIES DocBook XML" catalog="file:///etc/xml/docbook"/> <delegatePublic publicIdStartString="-//OASIS//DTD DocBook XML" catalog="file:///etc/xml/docbook"/> <delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/" catalog="file:///etc/xml/docbook"/> <delegateURI uriStartString="http://www.oasis-open.org/docbook/" catalog="file:///etc/xml/docbook"/> <delegateSystem systemIdStartString="http://oasis-open.org/docbook/xml/4.1.2/" catalog="file:///etc/xml/docbook"/> <delegateURI uriStartString="http://oasis-open.org/docbook/xml/4.1.2/" catalog="file:///etc/xml/docbook"/> <delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.3/" catalog="file:///etc/xml/docbook"/> <delegateURI uriStartString="http://www.oasis-open.org/docbook/xml/4.3/" catalog="file:///etc/xml/docbook"/> <delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.4/" catalog="file:///etc/xml/docbook"/> <delegateURI uriStartString="http://www.oasis-open.org/docbook/xml/4.4/" catalog="file:///etc/xml/docbook"/> <rewriteSystem systemIdStartString="http://docbook.sourceforge.net/release/xsl/1.75.2" rewritePrefix="/usr/share/xml/docbook/xsl-stylesheets-1.75.2"/> <rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/1.75.2" rewritePrefix="/usr/share/xml/docbook/xsl-stylesheets-1.75.2"/> <rewriteSystem systemIdStartString="http://docbook.sourceforge.net/release/xsl/current" rewritePrefix="/usr/share/xml/docbook/xsl-stylesheets-1.75.2"/> <rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/current" rewritePrefix="/usr/share/xml/docbook/xsl-stylesheets-1.75.2"/> </catalog>
-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
