[Samba] Building man pages on Solaris 10

Thomas Schulz schulz at adi.com
Mon Oct 12 17:38:51 UTC 2015


When the build of any version of Samba 4.* gets to the stage where the
man pages are being built on a Solaris 10 machine, you get errors such as:

I/O error : Attempt to load network entity
  http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd
../source4/torture/man/gentest.1.xml:2: warning: failed to load external
entity "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"

This is a Solaris bug. The xml catalog is not properly set up. To fix this,
edit the file /usr/share/sgml/db42xml/catalog.xml and add the following
just above the last line in the file.

<!-- Now the part that is really needed .................................. -->

  <rewriteSystem
        systemIdStartString="http://www.oasis-open.org/docbook/xml/4.2/ent"
        rewritePrefix="/usr/share/sgml/db42xml/ent"/>
  <rewriteURI
        uriStartString="http://www.oasis-open.org/docbook/xml/4.2/ent"
        rewritePrefix="/usr/share/sgml/db42xml/ent"/>
  <rewriteSystem
        systemIdStartString="http://www.oasis-open.org/docbook/xml/4.2"
        rewritePrefix="/usr/share/sgml/db42xml"/>
  <rewriteURI
        uriStartString="http://www.oasis-open.org/docbook/xml/4.2"
        rewritePrefix="/usr/share/sgml/db42xml"/>



Tom Schulz
Applied Dynamics Intl.
schulz at adi.com



More information about the samba mailing list