While the updating of SDL-sdlpl to the latest version closed out a bug on this earlier, my system is still not able to compile the package correctly. Here is the error message, with context: -- /usr/bin/perl -I/usr/lib/perl5/5.6.1/i686-linux -I/usr/lib/perl5/5.6.1 /usr/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.6.1/ExtUtils/typemap -typemap typemap OpenGL.xs > OpenGL.xsc && mv OpenGL.xsc OpenGL.c cc -c -ggdb -I/usr/include/SDL -D_REENTRANT -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/include/smpeg -I/usr/include/SDL -I/usr/include -I/usr/include/smpeg -I/usr/local/include/GL -I/usr/local/include/gl -I/usr/include/GL -I/usr/include/gl -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=i686 -O3 -pipe -DVERSION=\"1.18.3\" -DXS_VERSION=\"1.18.3\" -fpic -I/usr/lib/perl5/5.6.1/i686-linux/CORE -DHAVE_GLU_VERSION=13 -DHAVE_GL -DHAVE_GLU -DHAVE_SDL_IMAGE -DHAVE_SDL_MIXER -DHAVE_SDL_NET -DHAVE_SDL_TTF -DHAVE_JPEG -DHAVE_PNG -DHAVE_SMPEG OpenGL.c OpenGL.xs:31: #error No value for GL_ALL_CLIENT_ATTRIB_BITS please update your OpenGL headers OpenGL.xs: In function `XS_SDL__OpenGL_NurbsCallback': OpenGL.xs:1755: warning: passing arg 3 of `gluNurbsCallback' from incompatible pointer type OpenGL.xs:1761: warning: passing arg 3 of `gluNurbsCallback' from incompatible pointer type OpenGL.xs:1767: warning: passing arg 3 of `gluNurbsCallback' from incompatible pointer type OpenGL.xs:1773: warning: passing arg 3 of `gluNurbsCallback' from incompatible pointer type OpenGL.xs:1779: warning: passing arg 3 of `gluNurbsCallback' from incompatible pointer type OpenGL.xs:1785: warning: passing arg 3 of `gluNurbsCallback' from incompatible pointer type OpenGL.xs:1791: warning: passing arg 3 of `gluNurbsCallback' from incompatible pointer type OpenGL.xs: In function `XS_SDL__OpenGL_TessCallback': OpenGL.xs:1958: warning: passing arg 3 of `gluTessCallback' from incompatible pointer type OpenGL.xs:1964: warning: passing arg 3 of `gluTessCallback' from incompatible pointer type OpenGL.xs:1970: warning: passing arg 3 of `gluTessCallback' from incompatible pointer type OpenGL.xs:1976: warning: passing arg 3 of `gluTessCallback' from incompatible pointer type OpenGL.xs:1982: warning: passing arg 3 of `gluTessCallback' from incompatible pointer type OpenGL.xs:1988: warning: passing arg 3 of `gluTessCallback' from incompatible pointer type OpenGL.xs: In function `XS_SDL__OpenGL_GL_ALL_CLIENT_ATTRIB_BITS': OpenGL.xs:2518: `GL_ALL_CLIENT_ATTRIB_BITS' undeclared (first use in this function) OpenGL.xs:2518: (Each undeclared identifier is reported only once OpenGL.xs:2518: for each function it appears in.) make: *** [OpenGL.o] Error 1 -- The #error message is new, I believe; the actual error at the end is the same, the GL_ALL_CLIENT_ATTRIB_BITS not being set.
did you try to run opengl-update before emerging this?
opengl-update doesn't help. The probablem is actually a discrepancy in the opengl headers. Mesa calls the define GL_ALL_CLIENT_ATTRIB_BITS, but nobody else does. As a result, anyone using alternate headers (like anyone running an nvidia card) can't compile SDL-perl with opengl support. I think the old define is GL_CLIENT_ATTRIB_ALL_BITS, but I could be mistaken.
What Target said. opengl-update didn't help.
1.18.4 fixes this problem. Marking RESOLVED FIXED.
Per seemant's request, I unmerged .4 and emerged .3-r1. .3-r1 emerged just fine. However, when I tried to run Frozen Bubble, which uses sdlpl, I got this error: -- Can't find 'boot_SDL_perl' symbol in /usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/SDL_perl/SDL_perl.so at /usr/lib/perl5/site_perl/5.6.1/i686-linux/SDL.pm line 9 Compilation failed in require at /usr/lib/perl5/site_perl/5.6.1/i686-linux/SDL.pm line 9. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.6.1/i686-linux/SDL.pm line 9. Compilation failed in require at /usr/lib/perl5/site_perl/5.6.1/i686-linux/SDL/App.pm line 11. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.6.1/i686-linux/SDL/App.pm line 11. Compilation failed in require at /usr/bin/frozen-bubble line 45. BEGIN failed--compilation aborted at /usr/bin/frozen-bubble line 45. -- Switching back to .4 fixes that problem. I recommend staying with .4, although we can remove the hack if necessary (and if it doesn't break what works now.)