-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jani Tiainen wrote:
| I'm trying to compile app that uses docbook but even I installed all
| necessary packages I end up having error while running 'configure':
|
| checking which XML catalog to use... /etc/xml/catalog
| checking for DocBook XML DTD... configure: error: not found. Make sure
| you have the DocBook DTD installed and ensure that it is registered in
| /etc/xml/catalog.
[snip]
| I found out some references to additional "buildcatalog" script, but is
| that needed or do I have to specify some environment variable or
| parameter for configure?
Well you'd think the docbook-xml42 postinstall script would do this, but
it doesn't. Based on the BLFS book, I did the following:
xmlcatalog --noout --add "public" \
~ "-//OASIS//DTD DocBook XML V4.2//EN" \
~ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" \
~ /etc/xml/catalog &&
This should work at least for configure. For the program (BTW, what is
it?) to run however, you may need more; see this for an example
(although I'd send everything to /etc/xml/catalog instead of making a
separate /etc/xml/docbook, and our installation path is somewhat
different):