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

发布于 2024-08-05 00:15:37 字数 1602 浏览 5 评论 0原文

我很难让 jssh 和 firefox 在 Ubuntu Jaunty 64 位机器上正常运行。有人知道实现这项工作所需的具体步骤吗? (或者,如果您使用其他东西来让 firewatir 工作,我也会将这些作为答案)

以下是我尝试过的一些操作:

  1. 自行安装 jssh 扩展(按照 < a href="http://wiki.openqa.org/display/WTR/FireWatir+on+Ubuntu" rel="nofollow noreferrer">http://wiki.openqa.org/display/WTR/FireWatir+on+Ubuntu ),然后运行以下命令行会出现错误:

    火狐-jssh

    远程登录本地主机:9997

    我收到错误:

    正在尝试::1...

    尝试 127.0.0.1...

    telnet: 无法连接到远程主机:连接被拒绝

  2. 使用以下 mozconf 文件编译 firefox并且 make 命令出现错误:

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. 编译

I'm having a hard time getting jssh and firefox to play nice on an Ubuntu Jaunty 64-bit machine. Anyone know the specific steps needed to make this work? (or, if you're using something else to get firewatir to work, I'll take those as answers as well)

Here are a few things I tried:

  1. installing the jssh extension by itself (by following the instructions in http://wiki.openqa.org/display/WTR/FireWatir+on+Ubuntu) then running the following command line renders an error:

    firefox -jssh

    telnet localhost:9997

    I get the error:

    Trying ::1...

    Trying 127.0.0.1...

    telnet: Unable to connect to remote host: Connection Refused

  2. Compiling firefox with the following mozconf file and make command renders an error:

.

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

哆兒滾 2024-08-12 00:15:37

一点):

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

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

使用If failure, install required packages displayed in error messages

now

./firefox-jssh/dist/bin/firefox -jssh

telnet localhost:9997

,幸运的是您应该看到 “Welcome to the Mozilla JavaScript Shell!”

祝您好运,请耐心等待,编译需要一段时间

You can try fallow this instruction: (found using google but I had to correct a little bit):

You have to install some packages to checkout and successfully compile firefox

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

then clone firefox source from repository

This version has problems with firefox add-ons compatibility

for quick workaround install this add-on http://www.oxymoronical.com/web/firefox/nightly

hg clone http://hg.mozilla.org/mozilla-central/

cd mozilla-central

Create a new file .mozconfig in current directory

gedit .mozconfig

and paste the following build options into it.

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

then do

autoconf2.13

cd js/src

autoconf2.13

cd ../..

and compile using

make -f client.mk build

If failure, install required packages displayed in error messages

now

./firefox-jssh/dist/bin/firefox -jssh

telnet localhost:9997

and fortunately you should see "Welcome to the Mozilla JavaScript Shell!"

I wish you luck, and be patient, compilation takes a while

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文