[Mono-list] compile from cvs

Roy M. roy_me@web.de
Thu, 30 Sep 2004 09:58:24 +0200


Hi,

I try to compile mono from cvs but when I do

	./autogen.sh --prefix=/usr/local --with-preview

I get the following error:

Running libtoolize...
Running aclocal  ...
Running autoheader...
autoheader-2.5x: WARNING: Using auxiliary files such as `acconfig.h', 
`config.h.bot'
autoheader-2.5x: WARNING: and `config.h.top', to define templates for 
`config.h.in'
autoheader-2.5x: WARNING: is deprecated and discouraged.
autoheader-2.5x:
autoheader-2.5x: WARNING: Using the third argument of `AC_DEFINE' and
autoheader-2.5x: WARNING: `AC_DEFINE_UNQUOTED' allows to define a 
template without
autoheader-2.5x: WARNING: `acconfig.h':
autoheader-2.5x:
autoheader-2.5x: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader-2.5x:                [Define if a function `main' is needed.])
autoheader-2.5x:
autoheader-2.5x: WARNING: More sophisticated templates can also be 
produced, see the
autoheader-2.5x: WARNING: documentation.
Running automake --gnu  ...
automake: mono/mini/Makefile.am: warning: automake does not support 
libmono_la_LDFLAGS being defined conditionally
mono/mini/Makefile.am:233: warning: automake does not support 
conditional definition of libmono_la_SOURCES in libmono_static_la_SOURCES
libmono_la_LDFLAGS being defined conditionally
mono/mini/Makefile.am:233: warning: automake does not support 
conditional definition of libmono_la_SOURCES in libmono_static_la_SOURCES
mono/mini/Makefile.am:233: warning: automake does not support 
conditional definition of libmono_la_SOURCES in libmono_static_la_SOURCES
mono/mini/Makefile.am:233: warning: automake does not support 
conditional definition of libmono_la_SOURCES in libmono_static_la_SOURCES

(more message like this ...)

mono/mini/Makefile.am:231: invalid unused variable name: 
`nodist_libmono_la_SOURCES'
mono/mini/Makefile.am:234: invalid unused variable name: 
`nodist_libmono_static_la_SOURCES'
runtime/Makefile.am:65: endif without if
runtime/net_2_0/Makefile.am:82: warning: automake does not support 
conditional definition of gac_assemblies in EXTRA_DIST
runtime/net_2_0/Makefile.am:20: warning: automake does not support 
conditional definition of MONO_CSHARP_DEBUGGER in gac_assemblies_list
runtime/net_2_0/Makefile.am:80: warning: automake does not support 
conditional definition of local_mscorlib in corlib_DATA
runtime/net_2_0/Makefile.am:82: warning: automake does not support 
conditional definition of mdb_files in EXTRA_DIST
runtime/net_2_0/Makefile.am:75: warning: automake does not support 
conditional definition of gac_assemblies in mdb_files
runtime/net_2_0/Makefile.am:20: warning: automake does not support 
conditional definition of MONO_CSHARP_DEBUGGER in gac_assemblies_list
**Error**: automake failed.


http://www.mono-project.com/contributing/compiling.html says that I have 
to do a

	make bootstrap

but this results in an error too. (No rule for "bootstrap".)


I would very appreciate any help on this.
Thanks in advance,
Roy ;)