From the looks of the errors you don't have the plib library installed. You can get it here http://plib.sourceforge.net
Also the line :
/usr/include/GL/glut.h:11: GL/glu.h: No such file or directory
Would make me think you might not have OpenGL installed which may be required.
Your best bet is to install the plib library and try again.