安裝單的基本指令是:編譯與在CentOS安裝Mono - 不能讓過去「製作」
焦油xzvf單X.XX.tar.gz; cd mono-X.XX ./configure --prefix =/usr/local;使; make install
因此,我已經從http://download.mono-project.com/sources/mono/下載了最新版本並解壓(但它是一個bz2,使用tar的j選項)。
該配置似乎工作正常。當我運行make時,它會在此之前插好40分鐘左右:
make[5]: Entering directory `/usr/local/src/mono-2.11.2/mcs'
make[6]: Entering directory `/usr/local/src/mono-2.11.2/mcs'
make[6]: gmcs: Command not found
make[6]: *** [build/deps/basic-profile-check.exe] Error 127
make[6]: Leaving directory `/usr/local/src/mono-2.11.2/mcs'
make[6]: Entering directory `/usr/local/src/mono-2.11.2/mcs'
*** The compiler 'gmcs' doesn't appear to be usable.
*** Trying the 'monolite' directory.
make[7]: Entering directory `/usr/local/src/mono-2.11.2/mcs'
make[8]: Entering directory `/usr/local/src/mono-2.11.2/mcs'
Corlib not in sync with this runtime: expected corlib version 102, found 100.
Loaded from: /usr/local/src/mono-2.11.2/mcs/class/lib/monolite/mscorlib.dll
Download a newer corlib or a newer runtime at http://www.go-mono.com/daily.
make[8]: *** [build/deps/basic-profile-check.exe] Error 1
make[8]: Leaving directory `/usr/local/src/mono-2.11.2/mcs'
make[8]: Entering directory `/usr/local/src/mono-2.11.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 `/usr/local/src/mono-2.11.2/mcs'
make[7]: *** [do-profile-check] Error 2
幾行後,它退出。
我很好。除了少數人說,當你用日常構建覆蓋dll時會發生這種情況,無盡的谷歌並沒有真正吸引我。
這是一個全新的CentOS 6.2安裝與PHP,Apache,Mysql,Webmin,現在嘗試單聲道。我已經下載了最新的單聲道版本(2.11.2),但是最後一個版本(2.11.1)發生了同樣的情況。
我接近放棄和切換到我們的Web服務器的Debian,也許這是要走的路?
任何幫助表示讚賞。歡呼聲
我對安裝單2.11.1問題CentOs 6.0。製造商每次都在不同的地方停下來,並且安裝從未結束。所以我做了文件夾的文件夾,它的工作。 – 2012-10-11 09:22:10
@MiguelMarques:查看這裏的說明:http://wiki.phonicuk.com/Installing-Mono-in-CentOS-5-x.ashx他們提到碰撞ulimit -v更多的虛擬內存。也許這就是爲什麼你需要「分而治之」呢? – 2014-02-11 14:13:49