This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Missing DocBook XML DTD


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]