历尽千辛万苦编译mono遇到一个错误 尚未解决

vm虚拟机上的 redhat

我遇到一个问题 试了很多遍都不行
编译时报
make[6]: gmcs: Command not found
然后提示
*** You may want to try 'make get-monolite-latest'
按照提示操作后
我在make编译 还是出错和上面的错误信息一样,感觉按照提示信息操作了也没有效果
我该怎么办
我用的是redhat 虚拟机

错误如下
Entering directory `/mymono/mono-2/mcs'
make[6]: Entering directory `/mymono/mono-2/mcs'
make[6]: gmcs: Command not found
make[6]: *** [build/deps/basic-profile-check.exe] Error 127
make[6]: Leaving directory `/mymono/mono-2/mcs'
make[6]: Entering directory `/mymono/mono-2/mcs'
*** The compiler 'gmcs' doesn't appear to be usable.
*** Trying the 'monolite' directory.
make[7]: Entering directory `/mymono/mono-2/mcs'
make[8]: Entering directory `/mymono/mono-2/mcs'
* Assertion at mini-exceptions.c:1857, condition `staddr' not met
make[8]: *** [build/deps/basic-profile-check.exe] 已放弃
make[8]: Leaving directory `/mymono/mono-2/mcs'
make[8]: Entering directory `/mymono/mono-2/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 `/mymono/mono-2/mcs'
make[7]: *** [do-profile-check] Error 2
make[7]: Leaving directory `/mymono/mono-2/mcs'
make[6]: *** [do-profile-check-monolite] Error 2
make[6]: Leaving directory `/mymono/mono-2/mcs'
make[5]: *** [do-profile-check] Error 2
make[5]: Leaving directory `/mymono/mono-2/mcs'
make[4]: *** [profile-do--basic--all] Error 2
make[4]: Leaving directory `/mymono/mono-2/mcs'
make[3]: *** [profiles-do--all] Error 2
make[3]: Leaving directory `/mymono/mono-2/mcs'
make[2]: *** [all-local] Error 2
make[2]: Leaving directory `/mymono/mono-2/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mymono/mono-2'
make: *** [all] Error 2
[root@localhost mono-2]#

原文地址:https://www.cnblogs.com/qqloving/p/1987575.html