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 710482 - autoconf fails: "possibly undefined macro: AM_CONFIG_HEADER"
autoconf fails: "possibly undefined macro: AM_CONFIG_HEADER"
Status: RESOLVED DUPLICATE of bug 691694
Product: banshee
Classification: Other
Component: Community Extensions
2.6.1
Other Mac OS
: Normal critical
: ---
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-10-18 22:56 UTC by Michael Foster
Modified: 2013-10-19 12:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
This fixes it for me. (671 bytes, patch)
2013-10-18 22:57 UTC, Michael Foster
none Details | Review

Description Michael Foster 2013-10-18 22:56:33 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.
Comment 1 Michael Foster 2013-10-18 22:57:54 UTC
Created attachment 257674 [details] [review]
This fixes it for me.
Comment 2 Bertrand Lorentz 2013-10-19 12:46:12 UTC
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 ***