Compiling Dehydra and Treehydra on Natty Narwhal

by groleo

While Dehydra is available as a package, it doesn’t contain treehydra.
So, the only other option is to have it compiled from sources.
One thing to note here is that the latest Dehydra requires xulrunner 2.0.

sudo apt-get update
sudo apt-get install gcc-4.5
sudo apt-get install gcc-4.5-plugin-dev
sudo apt-get install xulrunner-2.0-dev

hg clone
cd dehydra

export CXX="`which g++-4.5`"
export CC="`which gcc-4.5`"

./configure \
        --js-libs=/usr/lib/xulrunner-2.0 \
        --js-headers=/usr/include/xulrunner-2.0 \
        --enable-C \