[Mono-list] Mono Install Error

luketongs luketongs at hotmail.com
Tue Oct 21 09:52:45 EDT 2008


Hi guys,

I'm trying to install Mono onto a centOS 5.2 box. I'm following these
instructions:

http://poormanstech.blogspot.com/2007/05/installing-mono.html

though when I go to install the first part:

[root at luther]# cd mono-1.2.4
[root at luther]# ./configure --prefix=/opt/mono
[root at luther]# make ; make install


I notice this error in the installation


Making all in runtime
make[2]: Entering directory `/usr/local/mono-1.2.4/mono-1.2.4/runtime'
if test -w ../mcs; then :; else chmod -R +w ../mcs; fi
cd ../mcs && make PROFILES='default net_2_0' CC='gcc' all-profiles
make[3]: Entering directory `/usr/local/mono-1.2.4/mono-1.2.4/mcs'
make profile-do--default--all profile-do--net_2_0--all
make[4]: Entering directory `/usr/local/mono-1.2.4/mono-1.2.4/mcs'
make PROFILE=basic all
make[5]: Entering directory `/usr/local/mono-1.2.4/mono-1.2.4/mcs'
make[6]: mcs: Command not found
make[6]: *** [build/deps/basic-profile-check.exe] Error 127
make[6]: Entering directory `/usr/local/mono-1.2.4/mono-1.2.4/mcs'
*** The compiler 'mcs' doesn't appear to be usable.
*** Trying the 'monolite' directory.
make[7]: Entering directory `/usr/local/mono-1.2.4/mono-1.2.4/mcs'

** ERROR **: file mini-amd64.c: line 180 (amd64_patch): assertion failed:
(amd64_is_imm32 (disp))
aborting...
Stacktrace:


Native stacktrace:

        /usr/local/mono-1.2.4/mono-1.2.4/mono/mini/mono [0x515851]
        /lib64/libpthread.so.0 [0x7f6542ce2e80]
        /lib64/libc.so.6(gsignal+0x35) [0x7f654272f155]
        /lib64/libc.so.6(abort+0x110) [0x7f6542730bf0]
        /lib64/libglib-2.0.so.0(g_log+0) [0x7f6543127f30]
        /lib64/libglib-2.0.so.0(g_log+0x83) [0x7f6543127fb3]
        /lib64/libglib-2.0.so.0(g_assert_warning+0x76) [0x7f6543128036]
        /usr/local/mono-1.2.4/mono-1.2.4/mono/mini/mono [0x427bca]
        /usr/local/mono-1.2.4/mono-1.2.4/mono/mini/mono [0x4dfe77]
        /usr/local/mono-1.2.4/mono-1.2.4/mono/mini/mono [0x500de2]
        /usr/local/mono-1.2.4/mono-1.2.4/mono/mini/mono [0x501bda]
        /usr/local/mono-1.2.4/mono-1.2.4/mono/mini/mono [0x5020a8]
       
/usr/local/mono-1.2.4/mono-1.2.4/mono/mini/mono(mono_exception_from_name_two_strings+0xdd)
[0x44c28d]
       
/usr/local/mono-1.2.4/mono-1.2.4/mono/mini/mono(mono_runtime_init+0x139)
[0x470319]
        /usr/local/mono-1.2.4/mono-1.2.4/mono/mini/mono [0x4dcfd8]
        /usr/local/mono-1.2.4/mono-1.2.4/mono/mini/mono(mono_main+0x2ef)
[0x4138ff]
        /lib64/libc.so.6(__libc_start_main+0xf4) [0x7f654271c8b4]
        /usr/local/mono-1.2.4/mono-1.2.4/mono/mini/mono(realloc+0x331)
[0x413069]

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

make[8]: *** [build/deps/basic-profile-check.exe] Aborted
make[8]: Entering directory `/usr/local/mono-1.2.4/mono-1.2.4/mcs'
*** The contents of your 'monolite' directory may be out-of-date
*** You may want to try 'make get-monolite-latest'
make[8]: *** [do-profile-check-monolite] Error 1
make[8]: Leaving directory `/usr/local/mono-1.2.4/mono-1.2.4/mcs'
make[7]: *** [do-profile-check] Error 2
make[7]: Leaving directory `/usr/local/mono-1.2.4/mono-1.2.4/mcs'
make[6]: *** [do-profile-check-monolite] Error 2
make[6]: Leaving directory `/usr/local/mono-1.2.4/mono-1.2.4/mcs'
make[5]: *** [do-profile-check] Error 2
make[5]: Leaving directory `/usr/local/mono-1.2.4/mono-1.2.4/mcs'
make[4]: *** [profile-do--basic--all] Error 2
make[4]: Leaving directory `/usr/local/mono-1.2.4/mono-1.2.4/mcs'
make[3]: *** [profiles-do--all] Error 2
make[3]: Leaving directory `/usr/local/mono-1.2.4/mono-1.2.4/mcs'
make[2]: *** [all-local] Error 2
make[2]: Leaving directory `/usr/local/mono-1.2.4/mono-1.2.4/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/mono-1.2.4/mono-1.2.4'
make: *** [all] Error 2




If anyone has any advise on this it would be great, as I'm keen as to get my
ASP app up on the Linux box to show my mate.

If you need any more information on the install please just ask and I'll get
straight back to you in the morning :)


Thanks.

Regards,

Luke


-- 
View this message in context: http://www.nabble.com/Mono-Install-Error-tp20090756p20090756.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list