Docbook XSL in BLFS
I'm currently reading the SVN version of BLFS. I'm trying to install GtkDocBook, but it keeps failing saying that I don't have the DocBook XSL StyleSheets in my XML catalog. I installed the docbook-xsl-1.67.2 package per the instructions. I've verified that all the entries arein my xml catalog, but when I run
Code:
# xmlcatalog --noout "/etc/xml/catalog" "http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl" Code:
$ xmlcatalog --noout "/etc/xml/catalog" "http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl" |
|
sed -i 's@/1.67.2@/current@g' /etc/xml/catalog
|
Quote:
|
Cool, though that solution is a bit crude. A better solution is to
Code:
xmlcatalog --noout --add rewriteSystem http://docbook.sourceforge.net/release/xsl/current /usr/share/xml/docbook/xsl-stylesheets-1.67.2 /etc/xml/catalog && |
I had the same problem and re-read the instructions in the blfs book and saw this at the bottom:
"For LFS 6.0, version 1.65.1 of this package should be installed. In addition, you need to make a symbolic link as described in the INSTALL file of LFS 6.0." Installing that version and creating the link fixes the problem. |
That's because those instructions include the rewrite commands to tell gtk doc where xsl current is
|
All times are GMT -5. The time now is 04:53 PM. |