The wxPython version 2.4.0.7 ebuild fails on my machine with the following errors. emerge -upv shows that +opengl is checked, and the build completes perfectly well without opengl, so I figure something isn't properly listed as a dependencey. What packages of mine or other info would you like? [...] building 'glcanvasc' extension creating build/temp.linux-i586-2.2/contrib creating build/temp.linux-i586-2.2/contrib/glcanvas creating build/temp.linux-i586-2.2/contrib/glcanvas/gtk gcc -DNDEBUG -march=k6-2 -O3 -pipe -fomit-frame-pointer -fPIC -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -UNDEBUG -Isrc -I/usr/include/python2.2 -c contrib/glcanvas/gtk/glcanvas.cpp -o build/temp.linux-i586-2.2/contrib/glcanvas/gtk/glcanvas.o -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include contrib/glcanvas/gtk/glcanvas.cpp: In function `void* SwigwxGLContextTowxObject(void*)': contrib/glcanvas/gtk/glcanvas.cpp:99: `wxGLContext' undeclared (first use this function) contrib/glcanvas/gtk/glcanvas.cpp:99: (Each undeclared identifier is reported only once for each function it appears in.) contrib/glcanvas/gtk/glcanvas.cpp:99: `src' undeclared (first use this function) contrib/glcanvas/gtk/glcanvas.cpp:101: syntax error before `)' token contrib/glcanvas/gtk/glcanvas.cpp: In function `PyObject* _wrap_new_wxGLContext(PyObject*, PyObject*, PyObject*)': contrib/glcanvas/gtk/glcanvas.cpp:109: `_result' undeclared (first use this function) contrib/glcanvas/gtk/glcanvas.cpp:111: `wxGLCanvas' undeclared (first use this function) contrib/glcanvas/gtk/glcanvas.cpp:111: `_arg1' undeclared (first use this function) contrib/glcanvas/gtk/glcanvas.cpp:138: syntax error before `)' token contrib/glcanvas/gtk/glcanvas.cpp:138: syntax error before `(' token contrib/glcanvas/gtk/glcanvas.cpp: In function `PyObject* _wrap_delete_wxGLContext(PyObject*, PyObject*, PyObject*)': contrib/glcanvas/gtk/glcanvas.cpp:155: `_arg0' undeclared (first use this function) contrib/glcanvas/gtk/glcanvas.cpp: In function `void* SwigwxGLCanvasTowxWindow(void*)': contrib/glcanvas/gtk/glcanvas.cpp:435: syntax error before `)' token contrib/glcanvas/gtk/glcanvas.cpp: In function `void* SwigwxGLCanvasTowxEvtHandler(void*)': contrib/glcanvas/gtk/glcanvas.cpp:443: syntax error before `)' token contrib/glcanvas/gtk/glcanvas.cpp: In function `void* SwigwxGLCanvasTowxEvtHandler(void*)': contrib/glcanvas/gtk/glcanvas.cpp:443: syntax error before `)' token contrib/glcanvas/gtk/glcanvas.cpp: In function `void* SwigwxGLCanvasTowxObject(void*)': contrib/glcanvas/gtk/glcanvas.cpp:451: syntax error before `)' token contrib/glcanvas/gtk/glcanvas.cpp: In function `PyObject* _wrap_new_wxGLCanvas(PyObject*, PyObject*, PyObject*)': contrib/glcanvas/gtk/glcanvas.cpp:529: syntax error before `)' token contrib/glcanvas/gtk/glcanvas.cpp:529: syntax error before `(' token contrib/glcanvas/gtk/glcanvas.cpp: In function `PyObject* _wrap_new_wxGLCanvasWithContext(PyObject*, PyObject*, PyObject*)': contrib/glcanvas/gtk/glcanvas.cpp:555: syntax error before `)' token contrib/glcanvas/gtk/glcanvas.cpp:632: syntax error before `)' token contrib/glcanvas/gtk/glcanvas.cpp:632: syntax error before `(' token contrib/glcanvas/gtk/glcanvas.cpp: In function `PyObject* _wrap_wxGLCanvas_GetContext(PyObject*, PyObject*, PyObject*)': contrib/glcanvas/gtk/glcanvas.cpp:769: syntax error before `)' token contrib/glcanvas/gtk/glcanvas.cpp: In function `void initglcanvasc()': contrib/glcanvas/gtk/glcanvas.cpp:924: `WX_GL_RGBA' undeclared (first use this function) contrib/glcanvas/gtk/glcanvas.cpp:925: `WX_GL_BUFFER_SIZE' undeclared (first use this function) contrib/glcanvas/gtk/glcanvas.cpp:926: `WX_GL_LEVEL' undeclared (first use this function) contrib/glcanvas/gtk/glcanvas.cpp:927: `WX_GL_DOUBLEBUFFER' undeclared (first use this function) contrib/glcanvas/gtk/glcanvas.cpp:928: `WX_GL_STEREO' undeclared (first use this function) contrib/glcanvas/gtk/glcanvas.cpp:929: `WX_GL_AUX_BUFFERS' undeclared (first use this function) contrib/glcanvas/gtk/glcanvas.cpp:930: `WX_GL_MIN_RED' undeclared (first use this function) contrib/glcanvas/gtk/glcanvas.cpp:931: `WX_GL_MIN_GREEN' undeclared (first use this function) contrib/glcanvas/gtk/glcanvas.cpp:932: `WX_GL_MIN_BLUE' undeclared (first use this function) contrib/glcanvas/gtk/glcanvas.cpp:933: `WX_GL_MIN_ALPHA' undeclared (first use this function) contrib/glcanvas/gtk/glcanvas.cpp:934: `WX_GL_DEPTH_SIZE' undeclared (first use this function) contrib/glcanvas/gtk/glcanvas.cpp:935: `WX_GL_STENCIL_SIZE' undeclared (first use this function) contrib/glcanvas/gtk/glcanvas.cpp:936: `WX_GL_MIN_ACCUM_RED' undeclared (first use this function) contrib/glcanvas/gtk/glcanvas.cpp:937: `WX_GL_MIN_ACCUM_GREEN' undeclared (first use this function) contrib/glcanvas/gtk/glcanvas.cpp:938: `WX_GL_MIN_ACCUM_BLUE' undeclared (first use this function) contrib/glcanvas/gtk/glcanvas.cpp:939: `WX_GL_MIN_ACCUM_ALPHA' undeclared (first use this function) error: command 'gcc' failed with exit status 1 !!! ERROR: dev-python/wxPython-2.4.0.7 failed. !!! Function src_compile, Line 69, Exitcode 1 !!! build failed
maybe wxGTK wasn't compiled with opengl ?
have you tried the latext wxGTK-2.4.1-r1 with wxPython?
closing because of lack of response