I'm running into some weird issues related to anything that relies upon DocBook 4.1.2. I've seen this on a couple of other ports, but I will use gtk-doc as the example. 'sudo port install gtk-doc' results in:
<div> </div><div><b><snip></b></div><div>---> Configuring gtk-doc</div><div>Error: Target com.apple.configure returned: configure failure: shell command " cd "/opt/local/var/db/dports
/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_gnome_gtk-doc/work/gtk- doc-1.8" && ./configure --prefix=/opt/local --with-xml-catalog=/opt/local/etc/xml/catalog " returned error 1
</div><div>Command output: checking whether to enable maintainer-specific portions of Makefiles... no</div><div>checking for style of include used by make... GNU</div><div>checking for gcc... gcc
</div><div>checking for C compiler default output file name... a.out</div><div>checking whether the C compiler works... yes</div><div>checking whether we are cross compiling... no</div><div>
checking for suffix of executables... </div><div>checking for suffix of object files... o</div><div>checking whether we are using the GNU C compiler... yes</div><div>checking whether gcc accepts -g... yes
</div><div>checking for gcc option to accept ANSI C... none needed</div><div>checking dependency style of gcc... none</div><div>checking for strerror in -lcposix... no</div><div>checking for gcc... (cached) gcc
</div><div>checking whether we are using the GNU C compiler... (cached) yes</div><div>checking whether gcc accepts -g... (cached) yes</div><div>checking for gcc option to accept ANSI C... (cached) none needed
</div><div>checking dependency style of gcc... (cached) none</div><div>checking for pkg-config... /opt/local/bin/pkg-config</div><div>checking pkg-config is at least version 0.19... yes</div><div>
checking for perl... /opt/local/bin/perl</div><div>checking if Perl version >= 5.6.0... yes</div><div>checking for openjade... no</div><div>checking for jade... no</div><div>configure: WARNING: Could not find openjade or jade, so SGML is not supported
</div><div>checking for xsltproc... /opt/local/bin/xsltproc</div><div>checking for XML catalog (/opt/local/etc/xml/catalog)... found</div><div>checking for xmlcatalog... /opt/local/bin/xmlcatalog
</div><div>checking for DocBook XML DTD V4.1.2 in XML catalog... not found</div><div>configure: error: could not find DocBook XML DTD V4.1.2 in XML catalog</div><div><br> </div><div>
Error: Status 1 encountered during processing.</div><div><b></snip></b></div><div> </div><div>When I look in /opt/local/etc/xml/catalog, it does have an entry for DocBook 4.1.2
:</div><div><b><br class="khtml-block-placeholder"></b></div><div><b><snip></b></div><div><?xml version=" 1.0"?></div><div><!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog
V1.0//EN" "<a href="http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.oasis-open.org</a><a href="http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">/committees/entity/release/1.0</a><a href="http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
/catalog.dtd
</a>"></div><div><catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"></div><div> <nextCatalog catalog="/opt/local/share/xml/docbook/4.1.2/catalog.xml"/></div>
<div> <nextCatalog catalog="/opt/local/share/xml/docbook/4.2/catalog.xml"/></div><div> <nextCatalog catalog="/opt/local/share/xsl/docbook-xsl/catalog.xml"/></div><div>
<nextCatalog catalog="/opt/local/share/xml/docbook/4.3/catalog.xml"/></div><div> <nextCatalog catalog="/opt/local/share/xml/docbook/4.4/catalog.xml"/></div><div> <nextCatalog catalog="/opt/local/share/xml
/docbook/4.5/catalog.xml"/></div><div> <public publicId="-//OMF//DTD Scrollkeeper OMF Variant V1.0//EN" uri="/opt/local/share/xml/scrollkeeper/dtds/scrollkeeper- omf.dtd"/></div>
<div></catalog></div><div><b></snip></b></div><div> </div><div>However, /opt/local/share/xml/docbook/4.1.2/catalog.xml does not exist. I'm a newbie to MacPorts so if there is something obvious I'm missing, please don't smack me up side the head too hard. I'll do that myself.
</div><div> </div><div>Also, I see that there is a 'docbook-xml-412' port as opposed to 'docbook-xml-4.1.2' but it's info says it is depreciated so I'm assuming I shouldn't be using that.
</div><div> </div><div>Thanks!</div><div> </div><div>Ryan</div><div style="font-family:arial;font-size:13px"><br> </div>