Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15328 - PyGTK 1.99 ebuild doesn't build with USE="opengl"
Summary: PyGTK 1.99 ebuild doesn't build with USE="opengl"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-08 15:18 UTC by Michael Dale Long
Modified: 2004-05-27 09:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Dale Long 2003-02-08 15:18:03 UTC
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.
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2003-04-01 12:49:40 UTC
reassigning to try and prune down the number of bugs raker has :)
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2003-04-01 19:24:22 UTC
can you try emerging gtkglarea again and then try pygtk?

if that fails, some output would be useful.
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2003-04-09 07:41:24 UTC
please reopen if you have more information. in the current state i can't reproduce the problem
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2003-09-28 03:29:48 UTC
closing reopened bug
Comment 5 Michael Dale Long 2003-09-28 14:19:10 UTC
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.
Comment 6 Alastair Tse (RETIRED) gentoo-dev 2003-10-07 12:11:40 UTC
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.
Comment 7 Michael Dale Long 2003-10-07 14:49:33 UTC
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.)
Comment 8 Alastair Tse (RETIRED) gentoo-dev 2003-10-07 15:44:19 UTC
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?
Comment 9 Michael Dale Long 2003-10-07 16:45:10 UTC
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.
Comment 10 Alastair Tse (RETIRED) gentoo-dev 2003-10-23 16:23:11 UTC
seems like a local problem thats resolved now. closing.
Comment 11 Patrich Björklund 2004-05-27 09:20:37 UTC
Have to symlink /usr/lib/opengl/xfree/libGL.la --> /usr/lib/libGL.la
Can some gentoo-ebuilder fix this?