GNOME Bugzilla – Bug 710482
autoconf fails: "possibly undefined macro: AM_CONFIG_HEADER"
Last modified: 2013-10-19 12:46:12 UTC
Hi, me again with another compilation error on OSX. This time the problem is with autoconf: ==> 2013-10-19 08:59:15: Preping banshee-community-extensions ==> 2013-10-19 08:59:15: Building banshee-community-extensions + NOCONFIGURE=1 ./autogen.sh && ./profile-configure darwin --prefix=/Users/michael/Desktop/bockbuild/profiles/banshee/build-root/_install Running intltoolize --force --copy ... You should add the contents of '/Users/michael/Desktop/bockbuild/profiles/banshee/build-root/_install/share/aclocal/intltool.m4' to 'aclocal.m4'. Running libtoolize --force --copy --automake ... Running aclocal -I build/m4/shamrock -I build/m4/shave -I build/m4/extensions -I/Users/michael/Desktop/bockbuild/profiles/banshee/build-root/_install/share/aclocal ... Running autoconf ... configure.ac:7: error: possibly undefined macro: AM_CONFIG_HEADER If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. Error: Could not run autoconf, which is required to configure banshee-community-extensions I believe AM_CONFIG_HEADER should be replaced with AC_CONFIG_HEADERS in configure.ac. This fixes the problem for me.
Created attachment 257674 [details] [review] This fixes it for me.
Thanks for taking the time to report this bug. This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed. I guess you're trying to build Banshee 2.6.1, which doesn't include this fix. You could try to use a different version of automake: it seems only automake 1.13 and 1.13.1 cause the build to fail because of this macro. Version 1.13.2 should be OK. See: https://www.flameeyes.eu/autotools-mythbuster/forwardporting/automake.html *** This bug has been marked as a duplicate of bug 691694 ***