gcc compiler is not in your $PATH
it means either you dont have gcc installed or it's not in your $PATH variable
to install gcc use this: (run as root)
redhat base:
yum groupinstall "Development tools"
Debian base:
apt-get install build-essential