Jeremy Henty wrote:
> Grr, is this ever frustrating!  I'm trying to build xmlto (so I can
> build git) and the build dies telling that my XML catalog support is
> broken.  But I can't find *anything* that tells me how to fix it!  All
> I can Google is loads of links telling me that XML catalogs are
> generally broken but that a recent Fedora will work.  (Thanks for
> nothing, Interwebs!)
> 
> Does anyone know how to diagnose and fix XML catalogs?

Jeremy, one thing is you don't actually need xmlto because you can
download prebuilt documentation for git (manpages and htmldocs).

However, xmlto requires a few tools which it doesn't tell you about
explicitly. You'll need libxslt, and both the docbook xsl stylesheets
and docbook xml dtd. All three are in blfs:

http://www.linuxfromscratch.org/blfs/view/svn/general/libxslt.html
http://www.linuxfromscratch.org/blfs/view/svn/pst/xml.html#DocBook
http://www.linuxfromscratch.org/blfs/view/svn/pst/docbook-xsl.html

I install them _slightly_ differently than BLFS, but I think they should
work the way it says in the book.

There's also a bit of brokenness in xmlto wrt it's use of find. I apply
this sed:

sed -i.bak 's/-type d -maxdepth 1/-maxdepth 1 -type d/' xmlto.in

--
Dan
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to