我在讓Mono在Cent OS 5.6 32位Web服務器上工作時遇到問題。讓Mono與Cent OS 5.6一起工作
我有一個WordPress網站,它將與.net後端協同工作。我跟着安裝在服務器上在得到單本指南:
http://wiki.phonicuk.com/Installing-Mono-in-CentOS-5-x.ashx
完成後,這是我的終端結果:
make[5]: Entering directory `/usr/local/src/mono-2.10.8/mcs/mcs'
Makefile:53: warning: overriding commands for target `csproj-local'
../build/executable.make:134: warning: ignoring old commands for target `csproj-local'
make install-local
make[6]: Entering directory `/usr/local/src/mono-2.10.8/mcs/mcs'
Makefile:53: warning: overriding commands for target `csproj-local'
../build/executable.make:134: warning: ignoring old commands for target `csproj-local'
/bin/sh ./../mkinstalldirs /usr/local/lib/mono/4.0
/usr/bin/install -c -c -m 755 ./../class/lib/net_4_0/dmcs.exe /usr/local/lib/mono/4.0
test ! -f ./../class/lib/net_4_0/dmcs.exe.mdb || /usr/bin/install -c -c -m 755 ./../class/lib/net_4_0/dmcs.exe.mdb /usr/local/lib/mono/4.0
/usr/bin/install -c -c -m 644 ./../class/lib/net_4_0/dmcs.exe.config /usr/local/lib/mono/4.0
test ! -f ./../class/lib/net_4_0/dmcs.exe.so || /usr/bin/install -c -c -m 755 ./../class/lib/net_4_0/dmcs.exe.so /usr/local/lib/mono/4.0
make[6]: Leaving directory `/usr/local/src/mono-2.10.8/mcs/mcs'
make[5]: Leaving directory `/usr/local/src/mono-2.10.8/mcs/mcs'
make[5]: Entering directory `/usr/local/src/mono-2.10.8/mcs/docs'
make install-local
make[6]: Entering directory `/usr/local/src/mono-2.10.8/mcs/docs'
/bin/sh ./../mkinstalldirs /usr/local/lib/monodoc /usr/local/lib/monodoc/sources
mkdir -p -- /usr/local/lib/monodoc /usr/local/lib/monodoc/sources
/usr/bin/install -c -c -m 644 cs-errors.tree cs-errors.zip ecma334.tree ecma334.zip Mono.tree Mono.zip netdocs.tree netdocs.zip Novell.tree Novell.zip lang- csharp.source Mono.source netdocs.source Novell.source /usr/local/lib/monodoc/sources
/usr/bin/install -c -c -m 644 monodoc.xml /usr/local/lib/monodoc
make[6]: Leaving directory `/usr/local/src/mono-2.10.8/mcs/docs'
make[5]: Leaving directory `/usr/local/src/mono-2.10.8/mcs/docs'
make install-local
make[5]: Entering directory `/usr/local/src/mono-2.10.8/mcs'
make[5]: Leaving directory `/usr/local/src/mono-2.10.8/mcs'
make[4]: Leaving directory `/usr/local/src/mono-2.10.8/mcs'
make[3]: Leaving directory `/usr/local/src/mono-2.10.8/mcs'
make[2]: Leaving directory `/usr/local/src/mono-2.10.8/mcs'
make[1]: Leaving directory `/usr/local/src/mono-2.10.8/runtime'
Making install in scripts
make[1]: Entering directory `/usr/local/src/mono-2.10.8/scripts'
Makefile:710: warning: overriding commands for target `mod'
Makefile:690: warning: ignoring old commands for target `mod'
make[2]: Entering directory `/usr/local/src/mono-2.10.8/scripts'
Makefile:710: warning: overriding commands for target `mod'
Makefile:690: warning: ignoring old commands for target `mod'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/usr/bin/install -c makecert sn al ilasm gacutil mkbundle monop resgen wsdl al2 csharp2 gacutil2 gmcs mdoc monop2 resgen2 wsdl2 mono-service mono-service2 nunit-console nunit- console2 mono-find-provides mono-find-requires mdoc-assemble mdoc-export-html mdoc-export- msxdoc mdoc-update mdoc-validate mdassembler mdvalidater monodocer monodocs2html monodocs2slashdoc mono-test-install peverify mcs mono-heapviz mono-configuration-crypto dmcs disco '/usr/local/bin'
/usr/bin/install -c dtd2xsd dtd2rng installvst genxs macpack mono-cil-strip prj2make soapsuds caspol cert2spc certmgr chktrust csharp httpcfg lc mconfig mod monolinker mono- api-info mono-shlib-cop mozroots permview pdb2mdb xsd mono-xmltool setreg secutil signcode sgen sqlmetal sqlsharp svcutil xbuild ccrewrite '/usr/local/bin'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/local/src/mono-2.10.8/scripts'
make[1]: Leaving directory `/usr/local/src/mono-2.10.8/scripts'
Making install in man
make[1]: Entering directory `/usr/local/src/mono-2.10.8/man'
make[2]: Entering directory `/usr/local/src/mono-2.10.8/man'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/man/man1" || /bin/mkdir -p "/usr/local/share/man/man1"
/usr/bin/install -c -m 644 al.1 cert2spc.1 certmgr.1 chktrust.1 cilc.1 csharp.1 disco.1 dtd2xsd.1 gacutil.1 genxs.1 httpcfg.1 ilasm.1 lc.1 macpack.1 makecert.1 mconfig.1 mcs.1 mdassembler.1 mdoc.1 mdoc-assemble.1 mdoc-export-html.1 mdoc-export-msxdoc.1 mdoc-update.1 mdoc-validate.1 mdvalidater.1 mkbundle.1 mono.1 mprof-report.1 mono-cil-strip.1 monodocer.1 monodocs2html.1 monolinker.1 monop.1 mono-api-info.1 mono-service.1 mono-shlib-cop.1 mono-xmltool.1 mozroots.1 pdb2mdb.1 permview.1 '/usr/local/share/man/man1'
/usr/bin/install -c -m 644 prj2make.1 resgen.1 secutil.1 setreg.1 sgen.1 signcode.1 sn.1 soapsuds.1 sqlsharp.1 wsdl.1 xbuild.1 xsd.1 mono-configuration-crypto.1 ccrewrite.1 '/usr/local/share/man/man1'
test -z "/usr/local/share/man/man5" || /bin/mkdir -p "/usr/local/share/man/man5"
/usr/bin/install -c -m 644 mdoc.5 mono-config.5 '/usr/local/share/man/man5'
make[2]: Leaving directory `/usr/local/src/mono-2.10.8/man'
make[1]: Leaving directory `/usr/local/src/mono-2.10.8/man'
Making install in samples
make[1]: Entering directory `/usr/local/src/mono-2.10.8/samples'
make[2]: Entering directory `/usr/local/src/mono-2.10.8/samples'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/local/src/mono-2.10.8/samples'
make[1]: Leaving directory `/usr/local/src/mono-2.10.8/samples'
Making install in msvc
make[1]: Entering directory `/usr/local/src/mono-2.10.8/msvc'
make[2]: Entering directory `/usr/local/src/mono-2.10.8/msvc'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/local/src/mono-2.10.8/msvc'
make[1]: Leaving directory `/usr/local/src/mono-2.10.8/msvc'
Making install in docs
make[1]: Entering directory `/usr/local/src/mono-2.10.8/docs'
cd . && make PROFILE=net_2_0 -f docs.make topdir=../mcs AgilityPack.dll
make[2]: Entering directory `/usr/local/src/mono-2.10.8/docs'
make[2]: `AgilityPack.dll' is up to date.
make[2]: Leaving directory `/usr/local/src/mono-2.10.8/docs'
cd . && make PROFILE=net_2_0 -f docs.make topdir=../mcs convert.exe
make[2]: Entering directory `/usr/local/src/mono-2.10.8/docs'
make[2]: `convert.exe' is up to date.
make[2]: Leaving directory `/usr/local/src/mono-2.10.8/docs'
/bin/mkdir -p ./html
runtimedir=`cd ../runtime && pwd`; export runtimedir; \
cd . && MONO_PATH=../mcs/class/lib/net_2_0 perl ./exdoc -h . ../mono/*/*.c
Merging: mono-api-wapi.html
Merging: mono-api-jitinternal.html
Merging: mono-api-utils.html
Merging: mono-api-types.html
Merging: mono-api-gc.html
Merging: mono-api-class.html
Merging: mono-api-assembly.html
Merging: mono-api-dynamic-codegen.html
Merging: mono-api-methods.html
Merging: mono-api-jit.html
Merging: mono-api-unsorted.html
Merging: mono-api-domains.html
Merging: mono-api-metadata.html
Merging: mono-api-codegen.html
Merging: mono-api-object.html
Merging: mono-api-gchandle.html
Merging: mono-api-marshal.html
Merging: mono-api-type.html
Merging: mono-api-profiler.html
Merging: mono-api-debug.html
Merging: mono-api-image.html
Merging: mono-api-embedding.html
Merging: mono-api-reflection.html
Merging: mono-api-internal.html
Merging: mono-api-security.html
Merging: mono-api-threads.html
Merging: mono-api-string.html
Merging: mono-api-vm.html
Merging: mono-api-exc.html
Merging: mono-api-counters.html
touch deploy/.stamp
cd . && make -f docs.make topdir=../mcs mono-file-formats.tree
make[2]: Entering directory `/usr/local/src/mono-2.10.8/docs'
make[2]: `mono-file-formats.tree' is up to date.
make[2]: Leaving directory `/usr/local/src/mono-2.10.8/docs'
cd . && make -f docs.make topdir=../mcs mono-tools.tree
make[2]: Entering directory `/usr/local/src/mono-2.10.8/docs'
make[2]: `mono-tools.tree' is up to date.
make[2]: Leaving directory `/usr/local/src/mono-2.10.8/docs'
cd . && cp -f api-style.css deploy
cd . && make -f docs.make topdir=../mcs monoapi.tree
make[2]: Entering directory `/usr/local/src/mono-2.10.8/docs'
make[2]: `monoapi.tree' is up to date.
make[2]: Leaving directory `/usr/local/src/mono-2.10.8/docs'
make[2]: Entering directory `/usr/local/src/mono-2.10.8/docs'
make[2]: Nothing to be done for `install-exec-am'.
cd . && make PROFILE=net_2_0 -f docs.make topdir=../mcs AgilityPack.dll
make[3]: Entering directory `/usr/local/src/mono-2.10.8/docs'
make[3]: `AgilityPack.dll' is up to date.
make[3]: Leaving directory `/usr/local/src/mono-2.10.8/docs'
cd . && make PROFILE=net_2_0 -f docs.make topdir=../mcs convert.exe
make[3]: Entering directory `/usr/local/src/mono-2.10.8/docs'
make[3]: `convert.exe' is up to date.
make[3]: Leaving directory `/usr/local/src/mono-2.10.8/docs'
/bin/mkdir -p ./html
runtimedir=`cd ../runtime && pwd`; export runtimedir; \
cd . && MONO_PATH=../mcs/class/lib/net_2_0 perl ./exdoc -h . ../mono/*/*.c
Merging: mono-api-wapi.html
Merging: mono-api-jitinternal.html
Merging: mono-api-utils.html
Merging: mono-api-types.html
Merging: mono-api-gc.html
Merging: mono-api-class.html
Merging: mono-api-assembly.html
Merging: mono-api-dynamic-codegen.html
Merging: mono-api-methods.html
Merging: mono-api-jit.html
Merging: mono-api-unsorted.html
Merging: mono-api-domains.html
Merging: mono-api-metadata.html
Merging: mono-api-codegen.html
Merging: mono-api-object.html
Merging: mono-api-gchandle.html
Merging: mono-api-marshal.html
Merging: mono-api-type.html
Merging: mono-api-profiler.html
Merging: mono-api-debug.html
Merging: mono-api-image.html
Merging: mono-api-embedding.html
Merging: mono-api-reflection.html
Merging: mono-api-internal.html
Merging: mono-api-security.html
Merging: mono-api-threads.html
Merging: mono-api-string.html
Merging: mono-api-vm.html
Merging: mono-api-exc.html
Merging: mono-api-counters.html
touch deploy/.stamp
cd . && make -f docs.make topdir=../mcs mono-file-formats.tree
make[3]: Entering directory `/usr/local/src/mono-2.10.8/docs'
make[3]: `mono-file-formats.tree' is up to date.
make[3]: Leaving directory `/usr/local/src/mono-2.10.8/docs'
cd . && make -f docs.make topdir=../mcs mono-tools.tree
make[3]: Entering directory `/usr/local/src/mono-2.10.8/docs'
make[3]: `mono-tools.tree' is up to date.
make[3]: Leaving directory `/usr/local/src/mono-2.10.8/docs'
cd . && cp -f api-style.css deploy
cd . && make -f docs.make topdir=../mcs monoapi.tree
make[3]: Entering directory `/usr/local/src/mono-2.10.8/docs'
make[3]: `monoapi.tree' is up to date.
make[3]: Leaving directory `/usr/local/src/mono-2.10.8/docs'
test -z "/usr/local/lib/monodoc/sources" || /bin/mkdir -p "/usr/local/lib/monodoc/sources"
/usr/bin/install -c -m 644 mono-file-formats.source mono-tools.source monoapi.source mono-file-formats.tree mono-file-formats.zip mono-tools.tree mono-tools.zip monoapi.tree monoapi.zip '/usr/local/lib/monodoc/sources'
make[2]: Leaving directory `/usr/local/src/mono-2.10.8/docs'
make[1]: Leaving directory `/usr/local/src/mono-2.10.8/docs'
make[1]: Entering directory `/usr/local/src/mono-2.10.8'
make[2]: Entering directory `/usr/local/src/mono-2.10.8'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/local/src/mono-2.10.8'
make[1]: Leaving directory `/usr/local/src/mono-2.10.8'
[[email protected]***** mono-2.10.8]#
我已經出演了服務器名稱。
.net開發人員告訴我,他們無法獲得.net連接,也無法知道如何配置Mono。開發人員說,當他們嘗試應用程序時,他們在瀏覽器中收到了XML結果,這顯然證明了Mono不能正常工作。
除了在上面的終端上做了什麼之外,是否還需要額外的步驟來配置Mono?
我找不到任何清晰的信息來幫助我實現這個目標,.NET開發人員在黑暗中看起來同樣如何正確配置Mono。
如果任何人都可以指導我如何得到這個工作,這將是真棒:)
謝謝