[Mono-list] Building Mono! Please HELP...

Jonathan Pryor jonpryor@vt.edu
21 Oct 2002 23:08:59 -0400


You wouldn't happen to be running on Red Hat 8.0, would you?

I'm seeing the same errors as well.  I haven't taken the time to figure
out why it's failing, though.

I'd be interested in knowing the answer to this as well.

 - Jon

On Mon, 2002-10-21 at 19:58, Joshua Perry wrote:
> OK  I am at my wits end trying to build mono.  I have automake,
> pkg-config, the boehm GC and everything that I know of installed on my
> RH8.0 system.  I have tried to build by hand, with the mono-build.sh,
> and using autogen.sh.  I have tried with source checked out from
> AnonCVS, from a nightly snapshot(20-10-2002) and with the release
> tarball for 0.16.
> 
> autogen.sh both manually and from mono-build.sh looks like this:
> 
> 
> 
> Running libtoolize...
> You should update your `aclocal.m4' by running aclocal.
> Running aclocal  ...
> Running autoheader...
> WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
> WARNING: and `config.h.top', to define templates for `config.h.in'
> WARNING: is deprecated and discouraged.
> 
> WARNING: Using the third argument of `AC_DEFINE' and
> WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
> WARNING: `acconfig.h':
> 
> WARNING:   AC_DEFINE([NEED_MAIN], 1,
> WARNING:             [Define if a function `main' is needed.])
> 
> WARNING: More sophisticated templates can also be produced, see the
> WARNING: documentation.
> autoheader: `config.h.in' is unchanged
> Running automake --gnu  ...
> mono/arch/Makefile.am: installing `./depcomp'
> configure.in:498: CFLAGS was already defined in condition TRUE, which
> implies condition PLATFORM_WIN32_TRUE
> # The mingw math.h has "extern inline" functions that dont appear in
> libs, so
> # optimisation is required to actually inline them
>   CFLAGS (User, where = configure.in:498) +=
>   {
>     TRUE => @CFLAGS@
>   }
> automake: mono/jit/Makefile.am: object `win32-exception.$(OBJEXT)'
> created both
> with libtool and without
> automake: mono/jit/Makefile.am: object `codegen-x86.$(OBJEXT)' created
> both with libtool and without
> automake: mono/jit/Makefile.am: object `emit-x86.$(OBJEXT)' created both
> with libtool and without
> automake: mono/jit/Makefile.am: object `regset.$(OBJEXT)' created both
> with libtool and without
> automake: mono/jit/Makefile.am: object `debug.$(OBJEXT)' created both
> with libtool and without
> automake: mono/jit/Makefile.am: object `debug-stabs.$(OBJEXT)' created
> both with libtool and without
> automake: mono/jit/Makefile.am: object `debug-dwarf2.$(OBJEXT)' created
> both with libtool and without
> automake: mono/jit/Makefile.am: object `jit.$(OBJEXT)' created both with
> libtool and without
> automake: mono/jit/Makefile.am: object `trampoline.$(OBJEXT)' created
> both with
> libtool and without
> automake: mono/jit/Makefile.am: object `exception.$(OBJEXT)' created
> both with libtool and without
> automake: mono/jit/Makefile.am: object `linear-scan.$(OBJEXT)' created
> both with libtool and without
> automake: mono/jit/Makefile.am: object `helpers.$(OBJEXT)' created both
> with libtool and without
> configure.in:498: CFLAGS was already defined in condition TRUE, which
> implies condition PLATFORM_WIN32_TRUE
> # The mingw math.h has "extern inline" functions that dont appear in
> libs, so
> # optimisation is required to actually inline them
>   CFLAGS (User, where = configure.in:498) +=
>   {
>     TRUE => @CFLAGS@
>   }
> automake: mono/jit/Makefile.am: object `win32-exception.$(OBJEXT)'
> created both
> with libtool and without
> automake: mono/jit/Makefile.am: object `codegen-x86.$(OBJEXT)' created
> both with libtool and without
> automake: mono/jit/Makefile.am: object `emit-x86.$(OBJEXT)' created both
> with libtool and without
> automake: mono/jit/Makefile.am: object `regset.$(OBJEXT)' created both
> with libtool and without
> automake: mono/jit/Makefile.am: object `debug.$(OBJEXT)' created both
> with libtool and without
> automake: mono/jit/Makefile.am: object `debug-stabs.$(OBJEXT)' created
> both with libtool and without
> automake: mono/jit/Makefile.am: object `debug-dwarf2.$(OBJEXT)' created
> both with libtool and without
> automake: mono/jit/Makefile.am: object `jit.$(OBJEXT)' created both with
> libtool and without
> automake: mono/jit/Makefile.am: object `trampoline.$(OBJEXT)' created
> both with
> libtool and without
> automake: mono/jit/Makefile.am: object `exception.$(OBJEXT)' created
> both with libtool and without
> automake: mono/jit/Makefile.am: object `linear-scan.$(OBJEXT)' created
> both with libtool and without
> automake: mono/jit/Makefile.am: object `helpers.$(OBJEXT)' created both
> with libtool and without
> **Error**: automake failed.
> 
> 
> 
> I am not super experienced using automake and autoconf or building large
> systems on linux.
> 
> I am really excited to start helping with System.Windows.Forms, but I
> need to get mono to build fist! :)
> 
> ANY help would be appreciated!
> 
> Joshua Perry
> 1-800 CONTACTS, INC.
> Information Systems Developer
> (801)924-9828
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list