Firefox JSSH连接的或非常详细的编制步骤在Ubuntu64?
题
我有一个很难得到jssh和firefox要发挥好一Ubuntu的精神抖擞的64位机。有人知道具体步骤,需要使这项工作?(或者,如果你用别的东西来获得firewatir工作,我将把这些作为答案也一样)
这里有几件事我想:
安装jssh扩展本身(通过下面的说明 http://wiki.openqa.org/display/WTR/FireWatir+on+Ubuntu)然后运行以下命令行使的一个错误:
firefox-jssh
telnet localhost:9997
我得到的错误:
试图::1...
试图127.0.0.1...
telnet:无法连接到的遥主持人:拒接
编制火狐与以下mozconf文件,并命令将呈现一个错误:
.
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
- 汇编
解决方案
你可以尝试休耕这一指令:(找到使用谷歌但我不得不纠正一点点):
你必须安装一些软件包,以检验和成功地编制火狐
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
hg clone http://hg.mozilla.org/mozilla-central/
cd mozilla-central
创建一个新的文件。mozconfig在当前的目录
gedit .mozconfig
和粘贴如下建立的选择进入。
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
然后做的
autoconf2.13
cd js/src
autoconf2.13
cd ../..
和编译的使用
make -f client.mk build
如果失败,安装必要的软件包所显示错误信息
现在
./firefox-jssh/dist/bin/firefox -jssh
telnet localhost:9997
和幸运的是,你应该看看 "欢迎来到Mozilla JavaScript壳!"
我祝你好运,并且要有耐心,需要一段时间汇编
不隶属于 StackOverflow