Note:

This page is no longer relevant but is kept for historical purposes.

Installing the tool chain on Mac OS X

This is what I did to make the documentation building steps of make all work:

That's it for the tools, but if you try to make all now you'll probably see warning and errors like this:

xmlto man hg.1.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"
cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
Variable $SGML_CATALOG_FILES not set

or this:

xmlto man hg.1.xml
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd
/Users/kevin/dev/hg/doc/hg.1.xml:2: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"

Fix them with these steps:

That did the trick for me on Tiger (10.4.11). I'm running Python 2.5.1, because I've heard about problems with the shipped version (2.3.5), but I installed it long ago and I won't try to describe the installation here.


CategoryMac

MacOSXTools (last edited 2013-01-20 05:34:53 by KevinBullock)