今天在机器上部署了wine,并在wine上安装了emule(Windows版本)。为了使用emule内置的浏览器,通过yum安装了xulrunner。

结果重新启动后,无法使用firefox:

Could not find compatible GRE version between 1.9.0.5 and 1.9.0.5

解决:

1。 运行xulrunner  --register-global来注册刚安装的xulrunner为全局公用,可是火狐还是报同样的错误。

2。 通过yum info得知,刚安装的xulrunner版本为1.9.0.16, 可能当前firefox不支持。尝试使用yum更新了firefox,成功地启动了火狐。

 

后续学习:

GRE:The framework for embedding Mozilla technologies was at one point called the GRE (Gecko Runtime Environment). This embedding framework allows applications to locate a compatible Gecko runtime and embed it without knowing in advance where that runtime will be installed.

Gecko是实现网页排版的引擎,最初由网景公司开发,现在被火狐浏览器使用。

XULRunner is a Mozilla runtime package that can be used to bootstrap XUL+XPCOM applications that are as rich as Firefox and Thunderbird. XULRunner is the new version of the GRE, which not only allows embedding but is capable of bootstrapping entire XUL applications such as Firefox.

XUL (XML User-interface Language - 基于XML的用户接口语言)是一种新的富客户端(Rich Client)技术,是 Mozilla 和 Firefox 的核心语言,可以用来快速开发跨平台用户接口。

 

总结:

根据以上理解,Xulrunner是GRE的一种实现,它负责管理XUL. 而XUL和Gecko有千丝万缕的关系,明确点说Gecko支持xul。

 

 

posted on 2010-02-14 23:42  考拉留  阅读(1714)  评论(0编辑  收藏  举报