Linux:Mono 安装和错误 [英] Linux: Mono installation and errors

查看:18
本文介绍了Linux:Mono 安装和错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在过去的几周里,我一直在努力安装一个可以正常工作的 Mono,但没有成功.

Over the past weeks I struggled to get a working Mono installation without success.

我已经在 Debian6_x64Debian7_x64Ubuntu_12.04_x64 上尝试过.我已经使用 apt-get 使用默认的 mono-complete 安装了它,并尝试从 GitHub 和其他存储库编译它.无论是使用 Mono 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 Trusty 14.04 (LTS),它的默认存储库中包含 mono 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:Mono 安装和错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆