The first step is optional, but assumed throughout the rest of this guide for the sake of brevity;
$ sudo -s
First we'll need to install some prerequisites
$ apt-get install autoconf automake libtool g++ gettext libglib2.0-dev libfontconfig1-dev