This is Xamarin's bug tracking system. For product support, please use the support links listed in your Xamarin Account.
Bug 9324 - cannot build with automake 1.13
Summary: cannot build with automake 1.13
Alias: None
Product: Runtime
Classification: Mono
Component: packaging (show other bugs)
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2013-01-07 11:37 UTC by Andrzej Giniewicz
Modified: 2013-01-09 07:17 UTC (History)
5 users (show)

See Also:
Is this bug a regression?: ---
Last known good build:


Description Andrzej Giniewicz 2013-01-07 11:37:58 UTC
New toolchain, which is default for some distributions (like Arch Linux) makes it hard to build Mono, there are errors:

> runtime/ error: support for Cygnus-style trees has been removed

see for reference.

There are also other issues that cause troubles, like: error: 'AM_CONFIG_HEADER': this macro is obsolete.
You should use the 'AC_CONFIG_HEADERS' macro instead.
/usr/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded from... error: 'AM_PROG_CC_STDC': this macro is obsolete.
    You should simply use the 'AC_PROG_CC' macro instead.
    Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
    but upon 'ac_cv_prog_cc_stdc'.

which were promoted to errors from warnings in newer autoconf (don't know exact version).
Comment 1 Zoltan Varga 2013-01-08 17:32:59 UTC
Fixed in master/mono-2-10.
Comment 2 harold_reina75 2013-01-08 22:24:32 UTC
Debian stable, testing and sid use automake 1.11.6 which generates a compile error with the patch created for mono 3.0.3
Comment 3 Zoltan Varga 2013-01-09 03:28:33 UTC
Could you paste the error message ?
Comment 4 harold_reina75 2013-01-09 05:26:36 UTC
[/opt/mono] ~/Git/mono @ ./ --prefix=/opt/mono
Running libtoolize...
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
Running aclocal -I m4 -I .  ...
Running automake --gnu  ... installing `./config.guess' installing `./config.sub' installing `./install-sh' installing `./missing'
ikvm-native/ installing `./depcomp' required file `' not found
**Error**: automake failed.
[/opt/mono] ~/Git/mono @ automake --version
automake (GNU automake) 1.11.6
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <>
       and Alexandre Duret-Lutz <>.
[/opt/mono] ~/Git/mono @
Comment 5 harold_reina75 2013-01-09 05:28:37 UTC
eliminating the patch for automake 1.3 works perfectly
Comment 6 Zoltan Varga 2013-01-09 05:36:07 UTC
Should be fixed in master/2.10. The changes broke a check in so autoheader was not ran.
Comment 7 harold_reina75 2013-01-09 07:03:49 UTC
esos mismo cambios se deben realizar en el de eglib "eglib/" para que eglib compile
Comment 8 harold_reina75 2013-01-09 07:06:29 UTC
these same changes should be made in the eglib "eglib /" to compile eglib line 116
if grep "^ AM_CONFIG_HEADER"> / dev / null; then
if grep "^ AC_CONFIG_HEADERS"> / dev / null; then
Comment 9 Zoltan Varga 2013-01-09 07:17:16 UTC

Note You need to log in before you can comment on or make changes to this bug.