To use docbook2X you need:
A C compiler is required to compile
a small ANSI C program (
You can get all the Perl modules here: CPAN XML module listing.
For the Java-based processors (SAXON and Xalan-Java), you will also need the Apache XML Commons distribution. This adds XML catalogs support to any Java-based processor, and is mandatory for docbook2X.
Out of the three processors, libxslt is recommended. (I would have added support for other XSLT processors, but only these three seem to have proper XML catalogs support.)
Unlike previous versions of docbook2X, these Java-based
processors can work almost out-of-the-box. Also docbook2X
no longer needs to compile XSLT extensions,
so you if you use an OS distribution package of libxslt,
you do not need the development versions of the
library any more.
The DocBook: The Definitive Guide website has more information.
You may also need the SGML DTD if your documents are SGML
rather than XML.
This is optional and is only used to build documentation in HTML format. In your XML catalog, point the URI in doc/ss-html.xsl to a local copy of the stylesheets.
For all the items above, it will be easier for you to install the OS packaging of the software (e.g. Debian packages), than to install them manually. But be aware that sometimes the OS package may not be for an up-to-date version of the software.
If you cannot satisfy all the prerequisites above (say you are on a vanilla Win32 system), then you will not be able to “build” docbook2X properly, but if you are knowledgeable, you can still salvage its parts (e.g. the XSLT stylesheets, which can be run alone).