#37434: HandBrake compile fails with automake 1.13: possibly undefined macro: AM_CONFIG_HEADER -----------------------------------+-------------------------------- Reporter: garyrobertdavidson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: HandBrake | -----------------------------------+-------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: Replying to [comment:1 macsforever2000@…]:
This looks like another problem caused by the new version of automake.
Yes, the error in the log is: {{{ :info:build configure.in:9: error: possibly undefined macro: AM_CONFIG_HEADER :info:build If this token and others are legitimate, please use m4_pattern_allow. :info:build See the Autoconf documentation. }}} The [http://lists.gnu.org/archive/html/automake/2012-12/msg00038.html automake 1.13 release notes] confirm that AM_CONFIG_HEADER, which has been superseded by AC_CONFIG_HEADERS for ten years, has finally been removed. Replying to [comment:5 garyrobertdavidson@…]:
With version 1.12.6_0 version of automake I get a different error
That's #36667. Replying to [comment:6 garyrobertdavidson@…]:
Updating XCode (not sure which version I had) to the 4.5.2 version, (and reinstalling the command line tools) fixed the problem with automake 1.12.6_0.
Interesting. I've added that information to #36667. Maybe we need to blacklist some older clang versions for HandBrake.
Newer automake 1.13_0 version still wont compile however.
consider fix to be
{{{ port activate automake @1.12.6_0 }}}
That's a workaround, not a fix. -- Ticket URL: <https://trac.macports.org/ticket/37434#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS