- sudo apt-get install build-essential g++-4.2
- svn checkout http://gears.googlecode.com/svn/trunk/ gears-read-only
- cd gears-read-only/gears/
- Edit "tools/config.mk" to replace the 9 occurrences of "g++" with "g++-4.2"
- chmod +x ../third_party/gecko_1.9/linux/gecko_sdk/bin/*
- make
- Done! The Firefox installer is in bin-dbg/installers/gears-linux-dbg-0.5.25.0.xpi