Results 1 to 3 of 3
Hey again,
Ok so I've been trying to install an application, the application needed dependencies and those dependencies needed dependencies and so on. I've pretty much installed them all but ...
- 01-05-2008 #1Just Joined!
- Join Date
- Sep 2007
- Posts
- 15
Docbook woes
Hey again,
Ok so I've been trying to install an application, the application needed dependencies and those dependencies needed dependencies and so on. I've pretty much installed them all but I've hit a roadblock when scrollkeeper has a problem with docbook. Now I've tried reading up on docbook to find out what it is and how to use it, and the most logical explanation I can come up with is that dockbook is just a book on how to annoy people. Anyways here's the exact error mesage.
./configure: line 8364: /usr/bin/xmlcatalog: cannot execute binary file
configure: error: not found. Make sure you have the DocBook DTD installed and ensure that it is registered in /etc/xml/catalog.
Now all jokes aside I know that configure needs to read /usr/bin/xmlcatalog: and it needs docbook to read it. Now I think I have the latest version of docbook installed (4.5) but its not registered in /etc/xml/catalog. Here is my /etc/xml/catalog file (sry if its a bit long but I don't know how to do the nice little text boxes).
<?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
mlns
ml: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://www.oasis-open.org/docbook/xml/4.1.2/" catalog="file:///etc/xml/docbook"/>
<delegateURI uriStartString="http://www.oasis-open.org/docbook/xml/4.1.2/" catalog="file:///etc/xml/docbook"/>
<delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.2/" catalog="file:///etc/xml/docbook"/>
<delegateURI uriStartString="http://www.oasis-open.org/docbook/xml/4.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.72.0" rewritePrefix="/usr/share/xml/docbook/xsl-stylesheets-1.72.0"/>
<rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/1.72.0" rewritePrefix="/usr/share/xml/docbook/xsl-stylesheets-1.72.0"/>
<rewriteSystem systemIdStartString="http://docbook.sourceforge.net/release/xsl/current" rewritePrefix="/usr/share/xml/docbook/xsl-stylesheets-1.72.0"/>
<rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/current" rewritePrefix="/usr/share/xml/docbook/xsl-stylesheets-1.72.0"/>
</catalog>
Now I tried putting the lines,
<delegateSystem systemIdStartString="http://www.oasis-open.org/docbook/xml/4.5/" catalog="file:///etc/xml/docbook"/>
<delegateURI uriStartString="http://www.oasis-open.org/docbook/xml/4.5/" catalog="file:///etc/xml/docbook"/>
Right after the smilie, I also checked "http://docbook.sourceforge.net/release/xsl/1.72.0" and it doesn't exist, but "http://docbook.sourceforge.net/release/xsl/1.73.2" and "http://docbook.sourceforge.net/release/xsl/current" do so I did a replace text on "1.72.0" with "1.73.2", saved the file and I still got the same error.
Now I could be way off the mark on this one but if anyone could tell me what I'm doing wrong, or give any insight to the docbook enigma it would be greatly appreciated.
Thanks for your time.
Edit: the first two smilies aren't supposed to be there, their in place if an ":" and an "x" beside each other.Last edited by sizeablebigfoot; 01-05-2008 at 01:08 AM. Reason: misplaced smilies
- 01-10-2008 #2Just Joined!
- Join Date
- Sep 2007
- Posts
- 15
Fixed!
Hi all,
Ok so I thought this was a recurring problem in Slackware but I guess it wasn't, I'm going to write down what happened here anyways for anyone else who runs into this problem. Ok so I opened up the docbook tgz file (which I finally found on the scrollkeeper page) and found a program for registering docbook called "buildDocBookCatalog". I ran this and it said that I needed libxml to use it. so I installed libxml and badaboom everything works fine now.
I hope this helps others with the same problem.
- 01-10-2008 #3
if this doesnt fix your problem however try usig swaret which checks for dependencies and installs them whilst installing the original item
please click my minicity!
or its industry more or even its roads
Everyone is immortal until the day they die.
Registered Linux user #462038


Reply With Quote