Linux系统:单声道安装错误 [英] Linux: Mono installation and errors
问题描述
在过去的几周我挣扎着爬一个工作单的安装没有成功。
Over the past weeks I struggled to get a working Mono installation without success.
我已经尝试过在 Debian6_x64
, Debian7_x64
和 Ubuntu_12.04_x64
。
我已经使用默认安装了单完整使用 apt-get的
,试图从GitHub和备选库编译它。无论是与单2.x或3.x中,我跟着几个教程和似乎没有任何工作。
I have tried it on Debian6_x64
, Debian7_x64
and Ubuntu_12.04_x64
.
I have installed it using the default mono-complete using apt-get
, tried compiling it from GitHub and from alternative repositories. Either with Mono 2.x or 3.x, I followed several tutorials and nothing seems to work.
不幸的是,我没有过去安装的,但在错误日志这一刻我目前的情况是:
Unfortunately I don't have the error logs of past installs but at this moment my current situation is:
Ubuntu 12.04 x64
Mono JIT compiler version 3.4.0 (master/250756b Sun Mar 2 15:02:07 EST 2014)
Copyright (C) 2002-2014 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: sgen
我想我跑windows下编译的C#程序和我得到目前的错误是:
I'm trying to run a c# program I compiled under windows and the error I get currently is:
user@host:/home/pck# mono Program.exe
The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the `/usr/local/lib/mono/4.5/mscorlib.dll' directory.
我一直在谷歌上搜索,并似乎没有任何工作。我非常感谢任何意见,可以帮助。
I've been googling and nothing seems to work. I'd greatly appreciate any advice that could help.
谢谢!
推荐答案
时下最好的办法是安装Ubuntu 14.04忠实的(LTS),其中包括在其默认库单3.2.8(易通过apt-get的安装)。
The best thing to do nowadays is install Ubuntu Trusty 14.04 (LTS), which includes mono 3.2.8 in its default repositories (easy to install through apt-get).
这篇关于Linux系统:单声道安装错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!