make[4]: Entering directory `/home/scott/Desktop/beryl/beryl-core/mesa/src/glx/x11' gcc -c -I. -I../../../include -I../../../include/GL/internal -I../../../src/mesa/main -I../../../src/mesa/glapi -I../../../src/mesa/drivers/dri/common -I/usr/include -I/usr/include/X11/extensions -Wall -O2 -fPIC -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DHAVE_ALIAS -std=c99 -ffast-math -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DDEFAULT_DRIVER_DIR=\"/usr/lib/dri\" glcontextmodes.c -o glcontextmodes.o glcontextmodes.c:47:24: error: GL/glxint.h: No such file or directory In file included from glcontextmodes.c:63: ../../../src/mesa/drivers/dri/common/glcontextmodes.h:39: warning: type defaults to ‘int’ in declaration of ‘__GLXvisualConfig’ ../../../src/mesa/drivers/dri/common/glcontextmodes.h:39: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token glcontextmodes.c:128: warning: type defaults to ‘int’ in declaration of ‘__GLXvisualConfig’ glcontextmodes.c:128: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token make[4]: *** [glcontextmodes.o] Error 1 make[4]: Leaving directory `/home/scott/Desktop/beryl/beryl-core/mesa/src/glx/x11' make[3]: *** [subdirs] Error 1 make[3]: Leaving directory `/home/scott/Desktop/beryl/beryl-core/mesa/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/scott/Desktop/beryl/beryl-core/mesa' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/scott/Desktop/beryl/beryl-core' make: *** [all] Error 2 BUILD FAILED for beryl-core