[Mono-list] automake errors with mono from svn

John Bytheway jjb48@cam.ac.uk
26 Feb 2005 15:47:31 +0000


On Feb 26 2005, John Bytheway wrote:

> I'm trying to compile mono from svn of Debian testing, but when I run 
> autogen.sh I get vast numbers of warnings as well as a few errors from 
> automake, including the following:

The newlines appear to have got lost in my original message, so here is 
another try:

Running automake --gnu ... mono/Makefile.am:4: endif without if 
mono/metadata/Makefile.am:32: variable `bundle_obj' not defined 
mono/metadata/Makefile.am:32: variable `bundle_obj' not defined automake: 
mono/tests/Makefile.am: warning: automake does not support 
libtest_la_LDFLAGS being defined conditionally automake: 
mono/mini/Makefile.am: warning: automake does not support 
libmono_la_LDFLAGS being defined conditionally mono/mini/Makefile.am:247: 
warning: automake does not support conditional definition of 
libmono_la_SOURCES in libmono_static_la_SOURCES mono/mini/Makefile.am:247: 
warning: automake does not support conditional definition of 
libmono_la_SOURCES in libmono_static_la_SOURCES . . (Lots of copies of this 
warning) . . mono/mini/Makefile.am:247: warning: automake does not support 
conditional definition of libmono_la_SOURCES in libmono_static_la_SOURCES 
mono/mini/Makefile.am:245: invalid unused variable name: 
`nodist_libmono_la_SOURCES' mono/mini/Makefile.am:248: invalid unused 
variable name: `nodist_libmono_static_la_SOURCES' runtime/Makefile.am:150: 
`distdir' is target; expected variable **Error**: automake failed.

> The first one (endif without if) seems particularly surprising - looking 
> at the file in question reveals no obvious error.
> 
> Any suggestions?