GNOME Bugzilla – Bug 571300
Gnome-Doc-Utils check is silent (Origanly a GTK-Doc issue)
Last modified: 2009-08-04 18:34:32 UTC
Please describe the problem: Trying to run configure without Gnome-Doc-Utils yeilds this: checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes configure: error: gnome-doc-utils >= 0.3.2 not found For some reason (plob. a bug), a "checking for gnome-doc-utils >= 0.3.2" message does not appear. I ran this on a real 6.4 LFS system with all the other deps installed. Another LFSer noted, that at line 2626, the check is there, but no message. Hmmph, reporting upstream. Mabe a modifaction to configure? Steps to reproduce: 1. Just run configure without gnome-doc-utils. Actual results: This happened: checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes configure: error: gnome-doc-utils >= 0.3.2 not found Expected results: Expecting this message to pop up near the gnome-doc-utils check error message: checking for gnome-doc-utils >= 0.3.2... no Does this happen every time? Yes, unless I install gnome-doc-utils. Other information: Be sure to alter configure.in and regenerate configure!
This needs to be fixed in GNOME_DOC_INIT from gnome-doc-utils.
something like this pseude-patch (PKG_CHECK_EXISTS is the silent version that also sets no vars). AC_DEFUN([GNOME_DOC_INIT], [ ifelse([$1],,[gdu_cv_version_required=0.3.2],[gdu_cv_version_required=$1]) + AC_MSG_CHECKING([gnome-doc-utils >= $gdu_cv_version_required]) PKG_CHECK_EXISTS([gnome-doc-utils >= $gdu_cv_version_required], [gdu_cv_have_gdu=yes],[gdu_cv_have_gdu=no]) if test "$gdu_cv_have_gdu" = "yes"; then + AC_MSG_RESULT([yes]) ifelse([$2],,[:],[$2]) else + AC_MSG_RESULT([no]) ifelse([$3],,[AC_MSG_ERROR([gnome-doc-utils >= $gdu_cv_version_required not found])],[$3]) fi GNOME_DOC_DEFINES ])
REMEMBER: This is a GTK-Doc issue, not a gnome-doc-utils issue.
William, it is not. The bahaviour you arking for would require changes in a m4 file that is part of gnome-doc-utils. Please care to explain why you think otherwise
(In reply to comment #4) > William, it is not. The bahaviour you arking for would require changes in a m4 > file that is part of gnome-doc-utils. > > Please care to explain why you think otherwise > Oops, diddn't see that. I thought otherwise because of that you said gibbersh when you moved it as a gnome-doc-utils issue.
This still applies to 2.26. Please fix this issue soon.
Created attachment 136093 [details] [review] Check fix for gnome-doc-utils This is a patch that fixes the bug. Hope you like it. This patch applies for 0.16.1, and needs to be applied with -Np1.
Committed to master. Thanks for the patch.