As long as your in an apt-get environment (Debian-based) then run these commands 
Code:
sudo apt-get install build-essential libpcre3-dev libssl-dev autoconf automake libtool
sudo apt-get install subversion libmysql++2c2a libmysql++-dev
sudo apt-get install build-essential unzip automake subversion autoconf zlib1g-dev libssl-dev libtool libstdc++5 libgd2-xpm libpcre3-dev
With all of those you should have no problem compiling, but an FYI you don't have to use autoreconf --force --install you can use
It is the same thing just less typing, and I would recommend sudo ing your commands... It's considered "unsafe" but its linux, why would anyone screw with a linux box :-D