为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

could not find mozilla runtime. firefox 5.0.1. I searched the build and there is no file called firefox-bin

  • 1 个回答
  • 2 人有此问题
  • 4 次查看
  • 最后回复者为 cor-el

more options

linux 2.6.39, GCC 4.6.0

Compiled and installed XULRunner 5.0.1. I don't know how to test it, so I assume it's ok.

Compiled firefox 5.0.1 with use_LIBXUL_DIST.patch and the correct configure switches --with-system-xul --with-xul-sdk=.... or somesuch.

Running firefox ALWAYS gives this response: Could not find mozilla runtime.

I tried replacing /usr/bin/firefox with a symlink to /usr/lib64/firefox-5.0.1/firefox.

I tried renaming it firefox-bin.

I tried editing run-mozilla.sh to call 'firefox' instead of 'mozilla-bin'.

I tried export PATH=$PATH:/usr/lib64/xulrunner-5.0.1:/usr/lib64/xulrunner-devel-5.0.1/bin:/usr/lib64/firefox-5.0.1 export LD_LIBRARY_PATH=/usr/xulrunner-devel-5.0.1/lib:/usr/lib64/firefox-5.0.1

I tried recompiling. I searched the source tree and the build tree for 'firefox-bin' and 'mozilla-bin'. Not found.

I tried compiling firefox 3.xxxx, but it will not compile with GCC 4.6.0. It wants -fpermissive, but adding that to the mozconfig file made no difference. Trying 'alias c++="c++ -fpermissive"' made no difference. Trying CXX="c++ -fpermissive" made no difference.

linux 2.6.39, GCC 4.6.0 Compiled and installed XULRunner 5.0.1. I don't know how to test it, so I assume it's ok. Compiled firefox 5.0.1 with use_LIBXUL_DIST.patch and the correct configure switches --with-system-xul --with-xul-sdk=.... or somesuch. Running firefox ALWAYS gives this response: Could not find mozilla runtime. I tried replacing /usr/bin/firefox with a symlink to /usr/lib64/firefox-5.0.1/firefox. I tried renaming it firefox-bin. I tried editing run-mozilla.sh to call 'firefox' instead of 'mozilla-bin'. I tried export PATH=$PATH:/usr/lib64/xulrunner-5.0.1:/usr/lib64/xulrunner-devel-5.0.1/bin:/usr/lib64/firefox-5.0.1 export LD_LIBRARY_PATH=/usr/xulrunner-devel-5.0.1/lib:/usr/lib64/firefox-5.0.1 I tried recompiling. I searched the source tree and the build tree for 'firefox-bin' and 'mozilla-bin'. Not found. I tried compiling firefox 3.xxxx, but it will not compile with GCC 4.6.0. It wants -fpermissive, but adding that to the mozconfig file made no difference. Trying 'alias c++="c++ -fpermissive"' made no difference. Trying CXX="c++ -fpermissive" made no difference.

所有回复 (1)

more options

Try this mozillaZine forum: