On Mon, Feb 23, 2009 at 06:07:54PM -0500, Tim Visher <tim.visher@xxxxxxxxx> wrote: > xmlto -m callouts.xsl man git-add.xml > I/O error : Attempt to load network entity > http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl > warning: failed to load external entity > "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl" > compilation error: file /tmp/xmlto-xsl.f254nC line 4 element import > xsl:import : unable to load > http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl > make: *** [git-add.1] Error 1 > > Strange thing is that I thought I had gotten these to build offline > before with the exact same configuration. Any thoughts? Probably you somehow broke your docbook toolchain. > My current solution is to build them on the online box and then copy > them over the sneaker net to the offline box. But, this is kludgey, > so not cool. :) That's just a workaround. The solution is to have the correct mappings under /etc/xml, so that it maps the doctype to /usr/share/xml/docbook/manpages/docbook.xsl, or a similar path. After all, ideally your distro does this for you automatically. :)
Attachment:
pgpOp7Afh5Ilx.pgp
Description: PGP signature