mono - 构建 Mono 时编译错误。已经安装了 2.10,提示我需要 2.4?

标签 mono centos

我正在尝试在 CentOS 上构建 mono。我遇到了问题,因为没有合适的 yum 存储库,但后来我从 Suse rpm 手动安装了 rpm。工作正常。请参阅下面的版本输出:

 root@localhost mcs]# mono --version
   Mono JIT compiler version 2.11.2 (tarball Thu Jul 12 03:04:31 EDT 2012)
   Copyright (C) 2002-2012 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
    TLS:           __thread
    SIGSEGV:       altstack
    Notifications: epoll
    Architecture:  x86
    Disabled:      none
    Misc:          softdebug 
    LLVM:          supported, not enabled.
    GC:            Included Boehm (with typed GC and Parallel Mark)
   [root@localhost mcs]# gmcs --version
   Mono C# compiler version 2.10.6.0
   [root@localhost mcs]# mcs --version
   Mono C# compiler version 2.10.6.0

当我尝试编译最新的单声道时,我得到以下输出...嗯?它看到我有它和版本,然后提示它不是 2.4+..任何人都可以帮我解决这个问题吗?

Bootstrap compiler: Mono C# compiler version 2.10.6.0
make[5]: *** [build/deps/basic-profile-check.out] Error 1
make[5]: Leaving directory `/root/mono2/mono/mcs'
*** The compiler 'gmcs' doesn't appear to be usable.
*** You need Mono version 2.4 or better installed to build MCS
*** Read INSTALL.txt for information on how to bootstrap a Mono installation.
make[4]: *** [do-profile-check] Error 1
make[4]: Leaving directory `/root/mono2/mono/mcs'

最佳答案

运行:

make get-monolite-latest

解决了我的问题。

关于mono - 构建 Mono 时编译错误。已经安装了 2.10,提示我需要 2.4?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11475954/

相关文章:

c# - 什么是 C# 的良好读取、评估、打印、循环实现?

c++ - yum : using boost 1. 69 而不是 centos 上的默认 (1.53) 版本

c# - Mac 上 Mono 中的 DllImport 出现 DllNotFoundException

mono - Mono.Cairo 的性能如何?

c# - linux/mono 上的 HTTP 性能

asp.net-mvc - 支持 MVC3 和 EF 的 Mono 有多远?

linux - OpenLDAP Centos 7 "no certificate"当客户端使用 'id ${USER}' 进行查询时

java - PgPool Java/JDBC 应用程序的负载平衡

apache - PHP 升级后网站无法从外部访问

狂欢 : Check if PID exists with further logic