首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Firefox JSSH连接还是Ubuntu 64上非常详细的编译步骤?

Firefox JSSH连接还是Ubuntu 64上非常详细的编译步骤?
EN

Stack Overflow用户
提问于 2009-09-18 23:52:07
回答 2查看 1.6K关注 0票数 1

我很难让jssh和firefox在Ubuntu 64位机器上玩得很好。有人知道让这件事起作用所需的具体步骤吗?(或者,如果你用其他的方法让火炬手工作,我也会把这些作为答案)

以下是我尝试过的几件事:

  1. 自行安装jssh扩展(按照http://wiki.openqa.org/display/WTR/FireWatir+on+Ubuntu中的说明),然后运行以下命令行将出现错误:

火狐-jssh

telnet localhost:9997

我得到了错误:

尝试:1.

尝试127.0.0.1..。

telnet:无法连接到远程主机:使用以下mozconf文件连接Refused

  • Compiling火狐并使命令呈现一个错误:

代码语言:javascript
复制
The file:
mk_add_options MOZ_CO_PROJECT=browser
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-jssh
ac_add_options --enable-extensions=default,jssh
ac_add_options --enable-application=browser

The command:
make -f client.mk

I get the Error:    

make[6]:  [WebGLContext.o] Error 1
make[6]: Leaving directory `/home/bernie/sources/mozilla-central/firefox-jssh/content/canvas/src'
make[5]:  [src_libs] Error 2
make[5]: Leaving directory `/home/bernie/sources/mozilla-central/firefox-jssh/content/canvas'
make[4]:  [canvas_libs] Error 2
make[4]: Leaving directory `/home/bernie/sources/mozilla-central/firefox-jssh/content'
make[3]:  [libs_tier_gecko] Error 2
make[3]: Leaving directory `/home/bernie/sources/mozilla-central/firefox-jssh'
make[2]:  [tier_gecko] Error 2
make[2]: Leaving directory `/home/bernie/sources/mozilla-central/firefox-jssh'
make[1]:  [default] Error 2
make[1]: Leaving directory `/home/bernie/sources/mozilla-central/firefox-jssh'
make:  [build] Error 2

  1. Compiling
EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2009-10-02 19:46:51

你可以试着放松一下这个指令:(在谷歌上找到的,但我不得不纠正一点):

您必须安装一些包才能签出并成功编译firefox。

代码语言:javascript
复制
sudo apt-get build-dep firefox

sudo apt-get install mercurial libasound2-dev libcurl4-openssl-dev libnotify-dev libxt-dev libiw-dev libglu1-mesa-dev

然后从存储库克隆firefox源代码

此版本在firefox外接程序兼容性方面存在问题。

要快速解决此问题,请安装此加载项http://www.oxymoronical.com/web/firefox/nightly

代码语言:javascript
复制
hg clone http://hg.mozilla.org/mozilla-central/

cd mozilla-central

在当前目录中创建一个新文件.mozconfig

代码语言:javascript
复制
gedit .mozconfig

并将以下构建选项粘贴到其中。

代码语言:javascript
复制
mk_add_options MOZ_CO_PROJECT=browser

mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-jssh

ac_add_options --enable-extensions=default,jssh

ac_add_options --enable-webservices

ac_add_options --enable-application=browser

那就去做

代码语言:javascript
复制
autoconf2.13

cd js/src

autoconf2.13

cd ../..

和编译使用

代码语言:javascript
复制
make -f client.mk build

如果失败,请安装显示在错误消息中的所需软件包。

现在

代码语言:javascript
复制
./firefox-jssh/dist/bin/firefox -jssh

telnet localhost:9997

幸运的是,您应该看到“欢迎来到Mozilla JavaScript Shell!"

祝你好运,耐心点,编辑需要一段时间。

票数 1
EN

Stack Overflow用户

发布于 2009-09-21 08:45:10

你看过这个吗?

http://wiki.openqa.org/display/WTR/FireWatir+on+Ubuntu

这里已经编译了Linux:

http://wiki.openqa.org/display/WTR/FireWatir+Installation#FireWatirInstallation-2)InstalltheJSSHFirefoxExtension

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/1447253

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档