破碎的单一开发

发布于 2024-12-27 08:41:38 字数 857 浏览 5 评论 0原文

您好,我想升级我的 Mono 版本,以便能够使用某些 .Net 4 功能。

我下载了 2.10 tarball 并按照我发现的说明进行编译,这似乎进展顺利。

这是我得到的输出:

$单声道-V

Mono JIT 编译器版本 2.10(压缩包 Sun Jan 8 11:25:36 GMT 2012) 版权所有 (C) 2002-2011 Novell, Inc 和贡献者。 www.mono-project.com TLS:__thread SIGSEGV:altstack 通知:epoll 架构:x86 禁用:无 其他: softdebug LLVM:支持,未启用。 GC:
包括 Boehm(带有类型化 GC 和并行标记)**

但是,monodevelop 将不再启动,我会得到以下输出。

$ monodevelop 警告:找不到包含以下内容的 Mozilla 目录 libgtkembedmoz.so。某些插件可能无法运行。请设定 MOZILLA_FIVE_HOME 到您的 Mozilla 目录。未处理的异常: System.TypeLoadException:发生类型加载异常。**

我尝试删除并重新安装 monodevelop,但这似乎不起作用。

有谁知道我如何解决这个问题,或者 monodevelop 与 mono 2.10 不兼容,因为一些谷歌搜索结果似乎建议这样做?如果是这种情况,我如何恢复到以前版本的 mono(是的,我是一个 Linux 菜鸟)?

我正在使用 xfce 运行 Ubuntu 11.04。

感谢您的帮助!

Hi I wanted to upgrade my version of mono so that I would be able to use certain .Net 4 features.

I downloaded the 2.10 tarball and compiled it as per the instructions I found which seems to have gone well.

This is the output I get for:

$mono -V

Mono JIT compiler version 2.10 (tarball Sun Jan 8 11:25:36 GMT 2012)
Copyright (C) 2002-2011 Novell, Inc and Contributors.
www.mono-project.com TLS: __thread SIGSEGV: altstack
Notifications: epoll Architecture: x86 Disabled: none Misc:
softdebug LLVM: supported, not enabled. GC:
Included Boehm (with typed GC and Parallel Mark)**

However, monodevelop will no longer start and I get the following output instead.

$ monodevelop WARNING: Cannot find Mozilla directory containing
libgtkembedmoz.so. Some Addins may not be able to function. Please set
MOZILLA_FIVE_HOME to your Mozilla directory. Unhandled Exception:
System.TypeLoadException: A type load exception has occurred.**

I've tried removing and reinstalling monodevelop but that doesn't seem to have worked.

Does anyone know how I can fix this or is monodevelop incompatible with mono 2.10 as it seems to be suggested by some google search results? If that is the case, how do I revert to a previous version of mono (yes I'm a bit of a linux noob)?

I'm running Ubuntu 11.04 with xfce.

Thanks for any help!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

笑脸一如从前 2025-01-03 08:41:38

在现有的 ubuntu mono 安装之上构建 mono 和 monodevelop 会给你带来非常混乱且可能损坏的软件包。您最好使用 并行 Mono 环境 来构建更新/测试版的 Mono 东西。

如果您不想坐下来从源代码构建所有内容,您可以安装我的新的 ubuntu 二进制包,如 此处发布 Google+ 帖子

至于修复现有的安装,我会这样做: apt-get install --reinstall mono libmono*

Building mono and monodevelop on top of the existing ubuntu mono installation will give you very confusing and potentially broken packages. You are best off using a Parallel Mono Environment to build newer/beta mono things.

If you don't want to sit and build everything from source you can install my new binary packages for ubuntu as described in a Google+ post here.

As for fixing your existing installation, I would do : apt-get install --reinstall mono libmono*

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文