Rails插件

Rails插件

[ 7 主题 / 10 回复 ]
版主:
下一个帖子 上一个帖子 您是本帖的第 526 个阅读者 推荐 举报 打印
主题:linux firefox jssh 安装

aotianlong 发表于 8 个月 第1楼

RSS

Compile Firefox from Scratch

This guide explains how to compile firefox on ubuntu with optional jssh support.
Install dependencies

Execute following command to install necessary headers required to build Firefox.

sudo apt-get build-dep firefox-3.0

Fetch sources

Execute following commands to checkout latest sources from Mozilla cvs.

cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co mozilla/client.mk
cd mozilla
make -f client.mk checkout MOZ_CO_PROJECT=browser

Specify build options

Create a new file named .mozconfig in current directory and copy 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,webservices
ac_add_options --enable-application=browser

Build the Browser

make -f client.mk build

Run the browser

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

Check whether jssh is working or not by telnet into it.

telnet localhost 9997

Now you should see the message "Welcome to the Mozilla JavaScript Shell!" in your telnet session. Thats it!
标签:
Sigline
技术狂人一个,没啥商业头脑。 都快奔三了,还是啥都没有。

aotianlong 发表于 7 个月 第1楼

我后悔阿,我这样编译之后,竟然编译了整个firefox

Sigline
技术狂人一个,没啥商业头脑。 都快奔三了,还是啥都没有。