Skip to content
hobsonlane edited this page Aug 11, 2011 · 3 revisions

Installing on Ubuntu 11.04 and Firefox 5.0 is difficult

sudo aptitude install git autoconf xulrunner-dev libboost-dev libpcap-dev hal libhal-dev	
cd ~/src
mkdir firesheep
cd firesheep
git clone git://github.com/mickflemm/firesheep.git
cd firesheep
./autogen.sh --with-xulrunner-sdk="/usr/lib/xulrunner-devel-2.0/"
git submodule update --init

There weren't any errors, but I should have looked deeper into the warnings...

configure.ac:41: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
../../lib/autoconf/general.m4:1834: AC_CANONICAL_TARGET is expanded from...
configure.ac:41: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
../../lib/autoconf/general.m4:1834: AC_CANONICAL_TARGET is expanded from...
configure.ac:41: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
../../lib/autoconf/general.m4:1834: AC_CANONICAL_TARGET is expanded from...
configure: WARNING: unrecognized options: --with-xulrunner-sdk

But went ahead with the make anyway

make

Which spouted errors associated with not finding the files it expected in the xulrunner sdk, so ...

sudo apt-get install xulrunner-1.9.2-dev
cd ~/src/firesheep/firesheep
./autogen.sh --with-xulrunner-sdk="/usr/lib/xulrunner-devel-1.9.2.17/"
git submodule update --init
make

Which seemed to work, until you drag the ~src/firesheep/firesheep/build/xpi file into Firefox and nothing happens (fails quietly). Using Add-ons->settings->install-from-file gave the error message

"Firesheep could not be installed because it is not compatible with Firefox 5.0"

So Firesheep may need some tweaking to make it work with xulrunner-2.0 and hence Firefox 5.0. Hopefully the Firefox 5.0 branch will clear this one up.

Clone this wiki locally