GNOME Bugzilla – Bug 769369
Failure to build with recent changes to autogen
Last modified: 2018-06-17 15:11:23 UTC
I can build with commit f1152dcefeef380dba593f9aff9fcec82dd0b198 but if I try the autogen changes I get: ./autogen.sh --prefix /home/aguelzow/gnumeric --libdir '/home/aguelzow/gnumeric/lib64' --disable-static --disable-gtk-doc --prefix=/home/aguelzow/gnumeric Copying file po/Makefile.in.in Please add the files codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4 progtest.m4 from the /usr/share/aclocal directory to your autoconf macro directory or directly to your aclocal.m4 file. You will also need config.guess and config.sub, which you can get from ftp://ftp.gnu.org/pub/gnu/config/. autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing plugins/fn-christian-date/Makefile.am:15: warning: wildcard $(top_srcdir: non-POSIX variable name plugins/fn-christian-date/Makefile.am:15: (probably a GNU make extension) plugins/fn-complex/Makefile.am:15: warning: wildcard $(top_srcdir: non-POSIX variable name plugins/fn-complex/Makefile.am:15: (probably a GNU make extension) plugins/fn-database/Makefile.am:15: warning: wildcard $(top_srcdir: non-POSIX variable name plugins/fn-database/Makefile.am:15: (probably a GNU make extension) plugins/fn-date/Makefile.am:15: warning: wildcard $(top_srcdir: non-POSIX variable name plugins/fn-date/Makefile.am:15: (probably a GNU make extension) plugins/fn-derivatives/Makefile.am:15: warning: wildcard $(top_srcdir: non-POSIX variable name plugins/fn-derivatives/Makefile.am:15: (probably a GNU make extension) plugins/fn-eng/Makefile.am:15: warning: wildcard $(top_srcdir: non-POSIX variable name plugins/fn-eng/Makefile.am:15: (probably a GNU make extension) plugins/fn-erlang/Makefile.am:15: warning: wildcard $(top_srcdir: non-POSIX variable name plugins/fn-erlang/Makefile.am:15: (probably a GNU make extension) plugins/fn-financial/Makefile.am:15: warning: wildcard $(top_srcdir: non-POSIX variable name plugins/fn-financial/Makefile.am:15: (probably a GNU make extension) plugins/fn-hebrew-date/Makefile.am:15: warning: wildcard $(top_srcdir: non-POSIX variable name plugins/fn-hebrew-date/Makefile.am:15: (probably a GNU make extension) plugins/fn-info/Makefile.am:15: warning: wildcard $(top_srcdir: non-POSIX variable name plugins/fn-info/Makefile.am:15: (probably a GNU make extension) plugins/fn-logical/Makefile.am:15: warning: wildcard $(top_srcdir: non-POSIX variable name plugins/fn-logical/Makefile.am:15: (probably a GNU make extension) plugins/fn-lookup/Makefile.am:15: warning: wildcard $(top_srcdir: non-POSIX variable name plugins/fn-lookup/Makefile.am:15: (probably a GNU make extension) plugins/fn-math/Makefile.am:15: warning: wildcard $(top_srcdir: non-POSIX variable name plugins/fn-math/Makefile.am:15: (probably a GNU make extension) plugins/fn-numtheory/Makefile.am:15: warning: wildcard $(top_srcdir: non-POSIX variable name plugins/fn-numtheory/Makefile.am:15: (probably a GNU make extension) plugins/fn-r/Makefile.am:15: warning: wildcard $(top_srcdir: non-POSIX variable name plugins/fn-r/Makefile.am:15: (probably a GNU make extension) plugins/fn-random/Makefile.am:15: warning: wildcard $(top_srcdir: non-POSIX variable name plugins/fn-random/Makefile.am:15: (probably a GNU make extension) plugins/fn-stat/Makefile.am:15: warning: wildcard $(top_srcdir: non-POSIX variable name plugins/fn-stat/Makefile.am:15: (probably a GNU make extension) plugins/fn-string/Makefile.am:15: warning: wildcard $(top_srcdir: non-POSIX variable name plugins/fn-string/Makefile.am:15: (probably a GNU make extension) plugins/fn-tsa/Makefile.am:18: warning: wildcard $(top_srcdir: non-POSIX variable name plugins/fn-tsa/Makefile.am:18: (probably a GNU make extension) src/Makefile.am:54: warning: shell $(GLIB_COMPILE_RESOURCES: non-POSIX variable name src/Makefile.am:54: (probably a GNU make extension) autoreconf: Leaving directory `.' ./autogen.sh: 34: ./autogen.sh: printbold: not found ./autogen.sh: 44: ./autogen.sh: printbold: not found checking for a BSD-compatible install... /usr/bin/install-check 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 make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking whether make supports nested variables... (cached) yes ./configure: line 3263: syntax error near unexpected token `GTK_DOC_CHECK' ./configure: line 3263: `AX_REQUIRE_DEFINED(GTK_DOC_CHECK)' *** Error during phase configure of gnumeric: ########## Error running ./autogen.sh --prefix /home/aguelzow/gnumeric --libdir '/home/aguelzow/gnumeric/lib64' --disable-static --disable-gtk-doc --prefix=/home/aguelzow/gnumeric *** [1/1]
Do you have /usr/share/aclocal/gtk-doc.m4 ? Is there a gtk-doc-something package that perhaps could be installed?
aguelzow@kirkman ~ $ ls -l /usr/share/aclocal/gtk-doc.m4 -rw-r--r-- 1 root root 3274 Feb 19 2014 /usr/share/aclocal/gtk-doc.m4 aguelzow@kirkman ~ $ dpkg -l | fgrep gtk-doc ii gtk-doc-tools 1.20-1ubuntu1 all GTK+ documentation tools
Andreas: please try removing the AX_REQUIRE_DEFINED line.
<aguelzow> gmorten, my m4 directory contains less: <aguelzow> glib-gettext.m4 intltool.m4 ltoptions.m4 nls.m4 <aguelzow> gsettings.m4 libtool.m4 ltsugar.m4 pkg.m4 <aguelzow> gtk-doc.m4 lt~obsolete.m4 ltversion.m4 <aguelzow> If I remove AX_REQUIRE_DEFINED from configure, it runs fine. <aguelzow> I also don't have m4/ax_require_defined.m4. Where does this come from?
I still have the: ./autogen.sh: 44: ./autogen.sh: printbold: not found but that is not terminal.
> I also don't have m4/ax_require_defined.m4. Where does this come from? Newer automake. We can do without.
printbold eliminated. We don't care where it went. This problem has been fixed in our software repository. The fix will go into the next software release. Once that release is available, you may want to check for a software upgrade provided by your Linux distribution.
I can confirm that it works fine now.
*** Bug 796609 has been marked as a duplicate of this bug. ***