首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

centos6上面monodevelop启动不了

2012-07-20 
centos6下面monodevelop启动不了报错如下[root@yujk ~]# monodevelopWARNING: Cannot find Mozilla direct

centos6下面monodevelop启动不了
报错如下

[root@yujk ~]# 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.

FATAL ERROR [2012-03-18 11:50:48Z]: MonoDevelop failed to start. Some of the assemblies required to run MonoDevelop (for example gtk-sharp, gnome-sharp or gtkhtml-sharp) may not be properly installed in the GAC.

System.TypeInitializationException: An exception was thrown by the type initializer for Gtk.Application ---> System.DllNotFoundException: glibsharpglue-2

  at (wrapper managed-to-native) GLib.Thread:glibsharp_g_thread_supported ()

  at GLib.Thread.get_Supported () [0x00000] in <filename unknown>:0

  at Gtk.Application..cctor () [0x00000] in <filename unknown>:0

  --- End of inner exception stack trace ---

  at MonoDevelop.Ide.IdeStartup.Run (System.String[] args) [0x00000] in <filename unknown>:0

  at MonoDevelop.Startup.MonoDevelopMain.Main (System.String[] args) [0x00000] in <filename unknown>:0

内核mono可以使用的,ide monodevelop 从应用程序-编程 下启动不起来 ,用命令则报以上错误,gtk-sharp, gnome-sharp均已安装,不过在make gnome-sharp时,

有一个error:error CS0006: cannot find metadata file `Mono.GetOptions.dll'  

请问有什么办法解决吗?

我没有指定安装路径的,都是默认安装的。

[解决办法]
你在安装完mono后,打一下ldconfig命令,就能解决你的问题了,成功后记得要给我分啊:)
[解决办法]
对了要用root权限
[解决办法]
我在Ubuntu 10.04 下只遇到这个问题: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.

找到一篇帖子说: 
sudo apt-get install kompozer
export MOZILLA_FIVE_HOME=/usr/lib/kompozer

在/usr/lib/kompozer下有libgtkembedmoz.so
操作后没有出现这个warning。

在ubuntu 12.04 则出现了楼主所说的错误
[解决办法]
从官网 monodevelop.com/Download 下最新的

热点排行