patch 'autogen.sh' to detect automake 1.12 (MacPorts, OS X)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
Javier Jardón |
Bug Description
MacPorts recently upgraded automake to 1.12 [1]. Inkscape's 'autogen.sh' script doesn't detect this version. The script instead falls back to the system version (automake 1.10 - if present at all, no longer provided with Xcode >= 4.3.x on Lion and Mountain Lion AFAIK). The system version of automake however lacks several required macros (only present in MacPorts' version), and the script fails:
I am testing that you have the required versions of autoconf,
automake, glib-gettextize and intltoolize. This test is not foolproof and
if anything goes wrong, there may be guidance in the file HACKING.txt
checking for autoconf >= 2.52 ... yes (version 2.69)
checking for automake >= 1.10 ... yes (version 1.10)
checking for glib-gettextize >= 2.0.0 ... yes (version 2.32.1)
checking for intltool >= 0.17 ... yes (version 0.50.2)
WARNING: aclocal's directory is /usr/bin/
no file /usr/bin/
You may see fatal macro warnings below.
If these files are installed in /some/dir, set the ACLOCAL_FLAGS
WARNING: aclocal's directory is /usr/bin/
no file /usr/bin/
You may see fatal macro warnings below.
If these files are installed in /some/dir, set the ACLOCAL_FLAGS
WARNING: aclocal's directory is /usr/bin/
no file /usr/bin/
You may see fatal macro warnings below.
If these files are installed in /some/dir, set the ACLOCAL_FLAGS
WARNING: aclocal's directory is /usr/bin/
no file /usr/bin/
You may see fatal macro warnings below.
If these files are installed in /some/dir, set the ACLOCAL_FLAGS
WARNING: aclocal's directory is /usr/bin/
no file /usr/bin/
You may see fatal macro warnings below.
If these files are installed in /some/dir, set the ACLOCAL_FLAGS
Running aclocal-1.10 ...
configure.ac:181: warning: macro `AM_GLIB_
Running autoheader ...
aclocal.m4:14: error: this file was generated for autoconf 2.61.
You have another version of autoconf. If you want to use that,
you should regenerate the build system entirely.
aclocal.m4:14: the top level
autom4te: /opt/local/bin/gm4 failed with exit status: 63
autoheader: '/opt/local/
Please fix the error conditions and try again.
Attached patch works around the issue similar to the earlier fix for automake 1.11 in revision 9109:
<http://
A better solution might be to modify/update 'autgen.sh' as proposed in the merge request to update the autotools (untested):
<https:/
Revision 10658: "autogen.sh: Use autoreconf instead custom script"
<http://
Follow-up report (to support automake 1.13):
Bug #1094576 “Patch for autogen.sh and configure.ac to support automake 1.13”
---
[1] <http://
[2] See also the ticket in MacPorts for automake 1.11:
<https:/
and the one filed recently for automake 1.12:
<https:/
Related branches
description: | updated |
Changed in inkscape: | |
status: | New → Triaged |
importance: | Undecided → Medium |
description: | updated |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
> A better solution might be to modify/update 'autgen.sh' as proposed in the merge /code.launchpad .net/~jjardon/ inkscape/ autotools/ +merge/ 77850>
> request to update the autotools (untested):
> <https:/
Initial tests to use the diff from the merge request (after fixing a minor conflict with current trunk 11307) fail to correctly configure inkscape trunk (r11307) on OS X 10.7. 2 (using up-to-date dependencies from MacPorts).
The mentioned merge request needs to be reviewed independently of the reported issue with automake 1.12 when building inkscape trunk on OS X (I don't know whether possibly some linux distros are affected as well).