... OpenGL.xs:789: error: `GL_SHORT' undeclared (first use in this function) OpenGL.xs:790: error: `GLushort' undeclared (first use in this function) OpenGL.xs:790: error: parse error before ')' token OpenGL.xs:793: error: `GL_UNSIGNED_INT' undeclared (first use in this function) OpenGL.xs:794: error: `GL_INT' undeclared (first use in this function) OpenGL.xs:795: error: `GLuint' undeclared (first use in this function) OpenGL.xs:795: error: parse error before ')' token OpenGL.xs:798: error: `GL_FLOAT' undeclared (first use in this function) OpenGL.xs:799: error: `GLfloat' undeclared (first use in this function) OpenGL.xs:799: error: parse error before ')' token OpenGL.xs:802: error: `GL_DOUBLE' undeclared (first use in this function) OpenGL.xs:803: error: `GLdouble' undeclared (first use in this function) OpenGL.xs:803: error: parse error before ')' token OpenGL.xs:806: error: `GL_2_BYTES' undeclared (first use in this function) OpenGL.xs:807: error: `GL_3_BYTES' undeclared (first use in this function) OpenGL.xs:808: error: `GL_4_BYTES' undeclared (first use in this function) OpenGL.c: In function `XS_OpenGLArray_ptr': OpenGL.xs:836: error: dereferencing pointer to incomplete type OpenGL.c: In function `XS_OpenGLArray_DESTROY': OpenGL.xs:855: error: dereferencing pointer to incomplete type OpenGL.xs:857: error: dereferencing pointer to incomplete type OpenGL.xs:857: error: dereferencing pointer to incomplete type OpenGL.xs:857: error: dereferencing pointer to incomplete type OpenGL.xs:857: error: dereferencing pointer to incomplete type OpenGL.xs:857: error: dereferencing pointer to incomplete type OpenGL.xs:857: error: dereferencing pointer to incomplete type OpenGL.xs:857: error: dereferencing pointer to incomplete type OpenGL.xs:857: error: dereferencing pointer to incomplete type OpenGL.xs:857: error: dereferencing pointer to incomplete type OpenGL.xs:857: error: dereferencing pointer to incomplete type OpenGL.xs:858: error: dereferencing pointer to incomplete type OpenGL.xs:861: error: dereferencing pointer to incomplete type OpenGL.xs:862: error: dereferencing pointer to incomplete type OpenGL.c:1053: confused by earlier errors, bailing out make: *** [OpenGL.o] Error 1 /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible