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 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


cd js/src


cd ../..
make -f build
[sudo apt-get install yasm]

[possible errors]
/mozilla-central/config/ *** .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 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