On some Linux distros the symbolic link /usr/bin/g++ is not created when installing g++ so the graphical parts can't be compiled.
The error produced by the make script is: Can't find GL/GLU/GLUT libraries which is wrong because they are installed. There should be a test if /usr/bin/g++ is available and the script should terminate if not (saying that it needs /usr/bin/g++ to compile the graphics-part).
Additionally the warning that is shown on screen during the make run (GLUT libs are not available. Building the non-graphical parts only) should also be available at the end of the log. I always miss this warning because the script scrolls so fast.