Laurent Melmoux wrote:
I’m trying to build the ZF documentation from docBook source
(http://framework.zend.com/wiki/display/ZFDEV/Zend+Framework+Guide+to+DocBook
) on a Debian Etch. But when I call make, I have this error:
xinclude --output html/index.html html.xsl manual.xml
make: xinclude : command not found
It says there in the documentation link you gave:
The tools you'll need to do this build are:
* make
* autoconf
* xsltproc
* xmllint
* standard UNIX/Linux shell and common tools
My system doesn't have xmllint though and I managed to build the docs
from incubator just fine. You will need it probably for the full library
docs though.
I got the same error as you when I had no xsltproc package installed.
The ./configure is searching for proper tools, but it does not fail if
the tools are not found (as it should):
$ ./configure
checking for xep... no
checking for xinc... no
checking for fop... no
checking for xsltproc... /usr/bin/xsltproc
checking for xmllint... no
configure: creating ./config.status
config.status: creating Makefile
As you can see, I have xsltproc installed and ./configure is locating it
in /usr/bin. I don't know about the other tools ./configure is searching
for, but it worked just fine without them (the incubator docs at least).
On my Ubuntu machine, I installed xsltproc with the command : sudo
apt-get install xsltproc. On Debian Etch, the package should be the
same( or very similar). Other distributions should also have a similar
package.
Good luck,
Adrian