Bug #2419


lighttpd-1.4.31 fails to compile with automake-1.12.x

Added by Phr33d0m about 12 years ago. Updated over 11 years ago.

Target version:


Hello, I'm using a 64bit Gentoo system. Compiling lighttpd-1.4.31 with automake-1.12.x fails with:

***** aclocal *****
***** PWD: /var/tmp/portage/www-servers/lighttpd-1.4.31/work/lighttpd-1.4.31
***** aclocal -I m4 error: automatic de-ANSI-fication support has been removed
/usr/share/aclocal-1.12/protos.m4:12: AM_C_PROTOTYPES is expanded from... the top level
autom4te-2.69: /usr/bin/m4 failed with exit status: 1
aclocal-1.12: error: autom4te failed with exit status: 1

Going back to automake-1.11.5 or automake-1.10.3 solved the issue.


PD: I found this solution on an Archlinux forum, so this is not only Gentoo dependant.


lighttpd-1.4.29-automake-1.12.patch (775 Bytes) lighttpd-1.4.29-automake-1.12.patch Fix build with automake 1.12 blino, 2012-07-05 11:17
Actions #1

Updated by stbuehler about 12 years ago

  • Priority changed from High to Low
  • Target version set to 1.4.x

There is no need to run automake if you use our snapshots.

Actions #2

Updated by blino almost 12 years ago

Running automake is sometimes needed if the project-generated buildsystem files are incompatible with system components (for example because of different libtool versions).

Attached patches fixes this buildsystem issue with automake 1.12

Actions #3

Updated by stbuehler almost 12 years ago

i won't apply it until i understand whether the changes are good.

will it work with older automake versions, ...?

just saying "this fixes it for me" is not enough.

Actions #4

Updated by blino almost 12 years ago

Yes, this will work with older automake versions.

AM_C_PROTOTYPES was only useful for very ancient C compilers that were not ANSI C compliant.
See for example this commit for details about the macro:
The doc used to say:
The features described in this section are deprecated; you must
not use any of them in new code, and remove their use from older but
still maintained code: they will be withdrawn in the next major
Automake release.
This feature has been deprecated for so long that even this piece of doc has been removed now.

The other change is about adding a call to AM_PROG_AR, which is required by newer automake to build static libraries.
This AM_PROG_AR macro will be called only if it is defined, so this will work with older automake versions.

Actions #5

Updated by stbuehler almost 12 years ago

  • Target version changed from 1.4.x to 1.4.32

ok, thx. marked for inclusion in the next release :)

Actions #6

Updated by stbuehler over 11 years ago

  • Status changed from Patch Pending to Fixed
  • % Done changed from 0 to 100

Applied in changeset r2851.


Also available in: Atom