That error is saying you do not have it installed. try to reinstall it. If your on debian based:
sudo apt-get install build-essential autoconf libtool gcc g++ make cmake git-core patch wget links zip unzip unrar
If that returns saying everything was already installed then I am wrong.