刚用上Linux(Fedro12),问题一堆,今天系统还自动更新了好多东西,可能就是因为这个,弄个什么东西之后重启一下机器,FireFox打不开 了,告诉我“正在启动 FireFox Web”,一会儿就没了,到终端执行/usr/lib/firefox-3.5.4/firefox。
给我这么个提示:Could not find compatible GRE between version 1.9.1.4 and 1.9.1.4.
从redhat.com上找到解决方法:
This error can be resolved using steps provided below.
1. Find your Gecko Runtime Environment (GRE) version number by running this command: # /usr/bin/xulrunner --gre-version 1.9.1.9
2. Edit your Firefox /usr/lib/firefox/application.ini file as follows: # gedit /usr/lib/firefox-3.5.4/application.ini
3. Find this block: Gecko MinVersion=1.9.1.4 MaxVersion=1.9.1.4
4. Change the above text to the following (using the version GRE number from the xulrunner command executed above): Gecko MinVersion=1.9.1.9 MaxVersion=1.9.1.9 // 就是把这里的版本号改成你第一步查到的版本号
5. Save the file and restart Firefox Firefox will be able to detect the correct Gecko Runtime Environment (GRE) after this .
原来是这个笨蛋xulrunner自己升级了,却不管改一下FireFox的配置文件。难道就是为了标榜自己比较那什么? PS: XULRunner是一个单独的GRE安装包,可用于启动多种如同Firefox和Thunderbird一样丰富的XUL+XPCOM应用程序。它提供 了安装、升级和反安装这些应用程序的机制。XULRunner还将提供libxul,这个解决方案允许把Mozilla技术嵌入到其它项目和产品中。(转载自:小5的空间)