我試圖從GitHub的單聲道回放tarball中編譯單聲道3.0.2。 但是,當我在mcs
文件夾獲取,編譯失敗:嘗試在CentOS 6.2上編譯單聲道3.0.2時出錯
if test -w /root/mono/mcs; then :; else chmod -R +w /root/mono/mcs; fi
cd /root/mono/mcs && make --no-print-directory -s NO_DIR_CHECK=1 PROFILES=' net_2_0 net_3_5 net_4_0 net_4_5 ' CC='gcc' all-profiles
Bootstrap compiler: Mono C# compiler version 3.0.3.0
Makefile:43: warning: overriding commands for target 'csproj-local'
../build/executable.make:149: warning: ignoring old commands for target 'csproj-local'
Makefile:43: warning: overriding commands for target 'csproj-local'
../build/executable.make:149: warning: ignoring old commands for target 'csproj-local'
make[7]: *** No rule to make target '../../external/ikvm/reflect/*.cs', needed by '../class/lib/basic/basic.exe'. Stop.
make[6]: *** [do-all] Error 2
make[5]: *** [all-recursive] Error 1
make[4]: *** [profile-do--basic--all] Error 2
make[3]: *** [profiles-do--all] Error 2
make[2]: *** [all-local] Error 2
make[2]: Leaving directory '/root/mono/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/mono'
make: *** [all] Error 2
我已經嘗試過這樣做make get-monolite-latest
安裝MONOLITE並且已經試圖安裝2.X版本,然後編譯。這些解決方案都沒有工作。 我對3.0.2版本的興趣是新的Razor模板引擎和MVC 4框架,但是,如果沒有可能爲CentOS 6編譯/安裝或二進制包,我將不勝感激以前版本的存儲庫。
它運作良好。非常感謝你! –
感謝您爲我工作以及最新版本(3.1.2) –
作爲參考,GitHub存儲庫版本選項卡上的mono-4.3.2.467 tarball是其中一個已損壞的版本。 >< –