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

在RedHat虚拟机上尝试编译Mono遇到gmcs命令未找到的问题,并尝试使用'make get-monolite-latest'命令更新monolite目录但仍然无法解决编译错误。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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/archive/2011/03/17/1987575.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值