Unpack the tarball, then run ./configure, and then make, make install, as usual.
If you are using a CVS version of docbook2X, you must have the autoconf and automake tools, and run ./autogen first before ./configure.
1. |
Where is XML::Handler::Templates? |
It's included in the docbook2X package. If Perl says it cannot find it, something went wrong with the install, or you tried to run the docbook2X Perl scripts in some other directory without installing. If you want to do the latter, you have to set PERLLIB manually to point to where-you-put-docbook2X/perl/XML. |
|
2. |
I get an error when compiling the things under libxslt/. Or a segmentation fault occurs running db2x_xsltproc. |
Either I made a bad mistake in the code, or the libxslt people changed their programming interfaces. You can try using the same version of libxslt (and libxml) I used when this version of docbook2X was released and see if that helps. Please tell me about this, so that I can release a new update to docbook2X. |
|
3. |
When docbook2X attempts to build its documentation, I get errors about "attempting to load network entity" and entity é not found, etc. |
You will need to set up the XML catalogs for the DocBook XML DTDs correctly. This tells libxml where to find the DocBook DTDs on your system. Maybe some Linux distributions have already done this; I don't know. For users of Debian woody, I made some XML catalog files which work with the DTDs installed by the standard DocBook packages there. Users of other distributions may also find this helpful (you will have to change the paths in the catalog files a bit). libxml also understands SGML catalogs, but last time I tried it there was some bug that stopped it from working. Your Mileage May Vary. |
For other docbook2X problems, please also look at its main documentation.