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!

