2

我正在尝试在 CentOS 上构建单声道。我在没有正确的 yum 存储库时遇到了问题,但是因为我已经从 Suse rpms 手动安装了 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'
4

1 回答 1

3

跑步:

make get-monolite-latest

为我解决了这个问题。

于 2013-10-06T21:28:37.007 回答