@User Hi Tim. I'm trying to build magic from an xterm on Mac OS. Cairo is installed and detected by the configure script. However, when I run make, it throws errors about not being able to find OpenGL headers:
bash-3.2$ make
--- errors and warnings logged in file make.log
--- making dependencies
grTOGL1.c2210: fatal error: 'GL/gl.h' file not found
grTOGL2.c1310: fatal error: 'GL/gl.h' file not found
grTOGL3.c1410: fatal error: 'GL/gl.h' file not found
grTOGL5.c1210: fatal error: 'GL/gl.h' file not found
grOGL1.c1010: fatal error: 'GL/gl.h' file not found
grOGL2.c2310: fatal error: 'GL/gl.h' file not found
grOGL3.c2410: fatal error: 'GL/gl.h' file not found
grOGL5.c2110: fatal error: 'GL/gl.h' file not found
--- making modules
--- compiling bplane/bpEnum.o