I get BadMatch X protocol errors when I run GLUT programs. What gives?
A22: There is a bug in the Solaris 2.4 and 2.5 implementation of XmuLookupStandardColormap (fixed in Solaris 2.6). When you compile GLUT on Solaris 2.4 or 2.5, please apply the following patch and compile with -DSOLARIS_2_4_BUG to workaround the problem. To do this, edit the glut/lib/glut/Makefile and add -DSOLARIS_2_4_BUG to the CFLAGS macro. See the comment in the patch below. This code is already in GLUT 3.1 and later.