On 08/27/10 21:17, Ken Moffat wrote:
> 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.
Yes!  And I have to say that I don't really understand it.

> 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 ?
Yes, I have that one to.  I was guessing that last one was the one that 
should be used.  I ran the configuration script at the bottom of the 
page is SVN BLFS.

My best guess is that the catalog isn't the problem since it was copied 
from the BLFS page.

-- 
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

Reply via email to