Trying to build PyGTK 1.99+ with opengl support fails. It looks for /usr/lib/opengl/nvidia/libGL.la instead of /usr/lib/opengl/nvidia/lib/libGL.la. Switching to xfree opengl doesn't fix it. It builds fine if you build with USE="-opengl". This appears to be a problem with how pygtk detects the opengl library, as it does this with just building from the tarball. I couldn't find how it looks up the opengl library, though.
reassigning to try and prune down the number of bugs raker has :)
can you try emerging gtkglarea again and then try pygtk? if that fails, some output would be useful.
please reopen if you have more information. in the current state i can't reproduce the problem
closing reopened bug
I am still having this problem with PyGTK 2.0. Here are my USE flags: USE="-apm -cups -gnome -mikmod -mmx -motif -svga -tcpd fbcon objprelink directfb ungif aalib tcltk ruby -postgresql perl -esd mozilla" I also unmasked ~x86. A compile log can be found at http://digitalbytes.net/pygtk-log.txt For some strange reason, my Mozilla crashes when I try to read that file. If you have the same problem, you can download http://digitalbytes.net/pygtk-log.txt.bz2 instead. Hope this helps.
thats impressive, a text file that crashes mozilla .. can you try: opengl-update xfree emerge pygtk you seem to have you libGL.a symlinked to the nvidia GLX libraries even though you don't have them installed.
I tried that, but it still complains about libGL.la in the nvidia directory. I am not certain how it is even finding the nvidia opengl after doing opengl-update xfree. However, I do have a working nvidia opengl install. At least it works with programs other than pygtk. (As for the text file crashing Mozilla, I reported it, and it seems that some control characters will kill Mozilla if it's built with XFT. Oops.)
i'm guessing that it might be that gtkglarea has the wrong path to the libGL.la in libgtkgl-2.0.la. can you try re-emerging x11-libs/gtkglarea?
Re-emerging gtkglarea with xfree opengl seems to have fixed the problem. I can even emerge pygtk with the nvidia opengl now. It looks like it depends on whatever opengl gtkglarea used.
seems like a local problem thats resolved now. closing.
Have to symlink /usr/lib/opengl/xfree/libGL.la --> /usr/lib/libGL.la Can some gentoo-ebuilder fix this?