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:
<snip>
---> Configuring gtk-doc
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
Command output: checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... none
checking for strerror in -lcposix... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) none
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.19... yes
checking for perl... /opt/local/bin/perl
checking if Perl version >= 5.6.0... yes
checking for openjade... no
checking for jade... no
configure: WARNING: Could not find openjade or jade, so SGML is not supported
checking for xsltproc... /opt/local/bin/xsltproc
checking for XML catalog (/opt/local/etc/xml/catalog)... found
checking for xmlcatalog... /opt/local/bin/xmlcatalog
checking for DocBook XML DTD V4.1.2 in XML catalog... not found
configure: error: could not find DocBook XML DTD V4.1.2 in XML catalog
Error: Status 1 encountered during processing.
</snip>
When I look in /opt/local/etc/xml/catalog, it does have an entry for DocBook 4.1.2
:
<snip>
<?xml version=" 1.0"?>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<nextCatalog catalog="/opt/local/share/xml/docbook/4.1.2/catalog.xml"/>
<nextCatalog catalog="/opt/local/share/xml/docbook/4.2/catalog.xml"/>
<nextCatalog catalog="/opt/local/share/xsl/docbook-xsl/catalog.xml"/>
<nextCatalog catalog="/opt/local/share/xml/docbook/4.3/catalog.xml"/>
<nextCatalog catalog="/opt/local/share/xml/docbook/4.4/catalog.xml"/>
<nextCatalog catalog="/opt/local/share/xml
/docbook/4.5/catalog.xml"/>
<public publicId="-//OMF//DTD Scrollkeeper OMF Variant V1.0//EN" uri="/opt/local/share/xml/scrollkeeper/dtds/scrollkeeper- omf.dtd"/>
</catalog>
</snip>
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.
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.
Thanks!
Ryan