[Momonga-devel.ja:02151] gtk-doc configure error


はじめまして、神尾と申します。
最近、オモコンを試し始めました。よろしくお願いします。

早速ですが、gtk-docのconfigureの部分でこけたので報告します。

== gtk-docのログ ==
(中略)
checking if Perl version >= 5.6.0... yes
checking for openjade... /usr/bin/openjade
checking for xsltproc... /usr/bin/xsltproc
checking for XML catalog (/etc/xml/catalog)... found
checking for xmlcatalog... /usr/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: Bad exit status from /var/tmp/rpm-tmp.13370 (%build)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.13370 (%build)

--[ESC[1;32mmv /tmp/OmoiKondara/gtk-doc-1.1-7m BUILDESC[m]--

Failure : gtk-doc

== ここまで ==

configure には --with-xml-catalog= でカタログのパスを指定するようなので
以下のようにしたのですが、

--- gtk-doc.spec.orig   Sat Oct 11 00:21:40 2003
+++ gtk-doc.spec        Sat Oct 11 00:21:40 2003
@@ -40,7 +40,7 @@
 mv doc/README doc/README.docs

 %build
-%configure
+%configure --with-xml-catalog=/usr/share/xml/docbook/catalog
 make

 %install

すると今度は、
== gtk-docのログ ==
(中略)
checking for openjade... /usr/bin/openjade
checking for xsltproc... /usr/bin/xsltproc
checking for XML catalog (/usr/share/xml/docbook/catalog)... found
checking for xmlcatalog... /usr/bin/xmlcatalog
checking for DocBook XML DTD V4.1.2 in XML catalog... found
checking for DocBook XSL Stylesheets in XML catalog... not found
configure: error: could not find DocBook XSL Stylesheets in XML catalog
error: Bad exit status from /var/tmp/rpm-tmp.96370 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.96370 (%build)

--[ESC[1;32mmv /tmp/OmoiKondara/gtk-doc-1.1-7m BUILDESC[m]--

Failure : gtk-doc
== ここまで ==

とXSLスタイルシートがないと言われました。
docbook-style-xslのインストール位置がまずいようなので、
以下のように修正して入れ直すことでgtk-docが通ったのですが、
これで良かったでしょうか?

--- docbook-style-xsl.spec.orig Sat Oct 11 00:31:28 2003
+++ docbook-style-xsl.spec      Sat Oct 11 00:30:00 2003
@@ -55,7 +55,7 @@


 %post
-CATALOG=/etc/xml/catalog
+CATALOG=/usr/share/xml/docbook/catalog
 /usr/bin/xmlcatalog --noout --add "rewriteSystem" \
        "http://docbook.sourceforge.net/release/xsl/%{version}"; \


--

Shotaro Kamio