Compiling Firefox with jssh Support on Ubuntu

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

hg clone http://hg.mozilla.org/releases/mozilla-1.9.2/ 192src

#wait 10 minutes
cd mozilla-central
gedit .mozconfig

mk_add_options MOZ_CO_PROJECT=browser
mk_add_options [email protected]@/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
[sudo apt-get install yasm]

[possible errors]
/mozilla-central/config/rules.mk:1877: *** .js component without matching .manifest
make[4]: *** [jssh_export] Error 2
make[4]: Leaving directory `/home/jordan/Documents/hg/mozilla-central/firefox-jssh/extensions’
make[3]: *** [export_tier_app] Error 2
make[3]: Leaving directory `/home/jordan/Documents/hg/mozilla-central/firefox-jssh’
make[2]: *** [tier_app] Error 2
make[2]: Leaving directory `/home/jordan/Documents/hg/mozilla-central/firefox-jssh’
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/jordan/Documents/hg/mozilla-central/firefox-jssh’
make: *** [build] Error 2

I got around those errors by using “hg clone http://hg.mozilla.org/releases/mozilla-1.9.2/ 192src” and not mozilla-central.
[/]

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

telnet localhost:9997

Posted on March 3, 2011 at 8:13 am by Jordan Carter · Permalink
In: Ubuntu Tricks, Uncategorized · Tagged with: , ,

Leave a Reply