Re: Issues building docs on an offline box again.
- From
Miklos Vajna <vmiklos@frugalware.org>
- Date
- Feb 24, 2009, 02:28 UTC
- Message-ID
- <20090224022856.GN4371@genesis.frugalware.org>
- In-Reply-To
- <c115fd3c0902231507k46da3294yf2726a92cb0fbc1a@mail.gmail.com>
On Mon, Feb 23, 2009 at 06:07:54PM -0500, Tim Visher <tim.visher@gmail.com> wrote:
Show 12 quoted lines
> 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. :)