The following information has been provided by Sean Mitchell
You will need to install packages and sources from the following site:
http://freeglut.sourceforge.net/index.php
untar/gzip it, type ./configure;make;make install
then when compiling, use the options
g++ filenname.cpp -lGL -lglut