This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Missing DocBook XML DTD
- From: Yaakov Selkowitz <yselkowitz at users dot sourceforge dot net>
- To: cygwin at cygwin dot com
- Date: Wed, 27 Oct 2004 01:50:08 -0400
- Subject: Re: Missing DocBook XML DTD
- References: <clnc5f$lc4$1@sea.gmane.org>
-----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):
http://www.linuxfromscratch.org/blfs/view/svn/pst/xml.html
Maybe the docbook-xml42 maintainer could help us all out with this one?
~ Or Gerrit, what did you do for gtk-doc?
Yaakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBfzcPpiWmPGlmQSMRAiIfAKCysRFJRKeQUhSeWiKazTbHB2TNfgCfbl7C
OKuhN5OoeQOD/tXKpL0xpwg=
=MXhK
-----END PGP SIGNATURE-----
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/