After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 482017 - autoconf fails unless g-d-u is already installed
autoconf fails unless g-d-u is already installed
Status: RESOLVED WONTFIX
Product: gnome-doc-utils
Classification: Deprecated
Component: build utils
0.12.x
Other Mac OS
: Normal normal
: ---
Assigned To: gnome-doc-utils maintainers
gnome-doc-utils maintainers
gnome[unmaintained]
: 641446 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-09-30 23:30 UTC by Daniel Macks
Modified: 2020-03-03 18:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Pass "-I tools" in ACLOCAL (446 bytes, patch)
2007-09-30 23:32 UTC, Daniel Macks
none Details | Review
0001-Add-I-tools-to-ACLOCAL_AMFLAGS.patch (701 bytes, patch)
2012-01-16 12:32 UTC, Hib Eris
none Details | Review

Description Daniel Macks 2007-09-30 23:30:18 UTC
On my OS X 10.3 machine with autoconf-2.60 and automake-1.9.5, I can only "autoreconf -f -i" gnome-doc-utils-0.12.0 if I already have a gnome-doc-utils package installed. If not:


autoreconf -f -i
tools/gnome-doc-utils.make:63: HAVE_GNOME_DOC_UTILS does not appear in AM_CONDITIONAL
doc/gnome-doc-make/Makefile.am:1:   `tools/gnome-doc-utils.make' included from here
tools/gnome-doc-utils.make:133: ENABLE_SK does not appear in AM_CONDITIONAL
doc/gnome-doc-make/Makefile.am:1:   `tools/gnome-doc-utils.make' included from here
tools/gnome-doc-utils.make:182: ENABLE_SK does not appear in AM_CONDITIONAL
doc/gnome-doc-make/Makefile.am:1:   `tools/gnome-doc-utils.make' included from here
tools/gnome-doc-utils.make:63: HAVE_GNOME_DOC_UTILS does not appear in AM_CONDITIONAL
doc/xslt/Makefile.am:1:   `tools/gnome-doc-utils.make' included from here
tools/gnome-doc-utils.make:133: ENABLE_SK does not appear in AM_CONDITIONAL
doc/xslt/Makefile.am:1:   `tools/gnome-doc-utils.make' included from here
tools/gnome-doc-utils.make:182: ENABLE_SK does not appear in AM_CONDITIONAL
doc/xslt/Makefile.am:1:   `tools/gnome-doc-utils.make' included from here
autoreconf: automake failed with exit status: 1
### execution of autoreconf failed, exit code 1

The primary error is that HAVE_GNOME_DOC_UTILS is defined in a support file in tools/ that gets installed when g-d-u is installed, but tools/ itself is not searched by autotools. A fix is to pass "-I tools" in ACLOCAL. Fixing this also clears the ENABLE_SK error and allows g-d-u to build successfully.
Comment 1 Daniel Macks 2007-09-30 23:32:15 UTC
Created attachment 96437 [details] [review]
Pass "-I tools" in ACLOCAL
Comment 2 paul 2008-01-21 16:24:33 UTC
why not add AC_CONFIG_MACRO_DIR([tools]) to configure.ac instead?
i often find myself skipping whichever project's native autogen.sh for simply utilizing gnome-autogen.sh which most autogens pass everything on to
Comment 3 Daniel Macks 2008-01-21 17:31:38 UTC
I saw there already was an ACLOCAL_AMFLAGS passed in Makefile.am, so adding more seemed cleanest (more confusing if "the same kind of action" is performed multiple ways and spread across multiple files). I don't know if AC_CONFIG_MACRO_DIR can accept multiple paths (I don't think so?).

That macro is new (in the realm of autotools) but also provides more features (with regards to libtoolize and related things) than the AMFLAGS approach.Maybe the best solution would be to put *all* .m4 in the tools/ subdir (or even more standardly, name it m4/) and then a single AC_CONFIG_MACRO_DIR that one unified location.
Comment 4 Hib Eris 2012-01-16 12:31:38 UTC
The files in the tools subdir are meant to be re-used by other packages using gnome-doc-utils. Therefor I think it is not a good idea to move gnome-doc-utils.m4 from there to the m4 subdir.

Because gnome-doc-utils is actually using gnome-doc-utils.m4 by bootstrapping, quite comparable to how any other package that is using gnome-doc-utils uses it, I think the solution to add "-I tools" to ACLOCL_AMFLAGS is the right solution here.
Comment 5 Hib Eris 2012-01-16 12:32:44 UTC
Created attachment 205358 [details] [review]
0001-Add-I-tools-to-ACLOCAL_AMFLAGS.patch

Updated patch from comment 1 to current master.
Comment 6 Hib Eris 2012-01-17 11:29:21 UTC
*** Bug 641446 has been marked as a duplicate of this bug. ***
Comment 7 Marvin Schmidt 2016-05-17 08:36:48 UTC
This was fixed by 
https://git.gnome.org/browse/gnome-doc-utils/commit/?id=67d8ef459e7a7e4b21b53d02704f77292cf017e0
from bug #755966 and can be closed
Comment 8 André Klapper 2020-03-03 18:34:52 UTC
gnome-doc-utils has been superseded by yelp-xsl, yelp-tools, and itstool.

gnome-doc-utils will not see any further development, hence closing as WONTFIX.

See https://gitlab.gnome.org/Infrastructure/Infrastructure/issues/255