2012-07-13 19 views
2

我試圖在CentOS上構建單聲道。我沒有正確的yum回購存在問題,但是由於已經從Suse rpms手動安裝了rpm。工作正常。見下面的輸出版本:編譯錯誤建立單聲道。有2.10安裝,抱怨我需要2.4?

[email protected] 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) 
    [[email protected] mcs]# gmcs --version 
    Mono C# compiler version 2.10.6.0 
    [[email protected] 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' 
+0

你的./configure行是什麼? – IanNorton 2012-07-14 07:35:01

回答

3

運行:

make get-monolite-latest 

解決了這個問題對我來說。

+0

我在收到你收到的同樣的錯誤後運行這個程序,並且根據我所知它沒有安裝任何東西。單聲道還是說2.10.12。有任何想法嗎? – fuzz 2015-07-08 02:22:25