Also make sure that the glut "developer stuff" is installed (static libs/headers).
(I use Red Hat so I am not sure of the exact command)
try...
'apt-get install glut-dev'
...or...
'apt-get install freeglut-dev'
Basically, most Linux packagers split software into runtime, development and documentation packages so you just needed the dev packages.