Bug #2419
closedlighttpd-1.4.31 fails to compile with automake-1.12.x
Description
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 configure.ac:42: error: automatic de-ANSI-fication support has been removed /usr/share/aclocal-1.12/protos.m4:12: AM_C_PROTOTYPES is expanded from... configure.ac:42: 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.
Regards.
PD: I found this solution on an Archlinux forum, so this is not only Gentoo dependant.
Files
Updated by stbuehler over 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.
Updated by blino over 12 years ago
- File lighttpd-1.4.29-automake-1.12.patch lighttpd-1.4.29-automake-1.12.patch added
- Status changed from New to Patch Pending
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
Updated by stbuehler over 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.
Updated by blino over 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:
http://git.savannah.gnu.org/cgit/automake.git/commit/?id=0cbcf393dbdaa2ff36b11cf2516675e78eada49f
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.
Updated by stbuehler over 12 years ago
- Target version changed from 1.4.x to 1.4.32
ok, thx. marked for inclusion in the next release :)
Updated by stbuehler about 12 years ago
- Status changed from Patch Pending to Fixed
- % Done changed from 0 to 100
Applied in changeset r2851.
Also available in: Atom