Bug 242048 - Missing dependency on freeglut
Summary: Missing dependency on freeglut
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: PyOpenGL
Version: 7
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Hans de Goede
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-06-01 13:33 UTC by Eric Harney
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-06-03 14:45:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
glchess output (1.46 KB, text/plain)
2007-06-01 13:33 UTC, Eric Harney
no flags Details

Description Eric Harney 2007-06-01 13:33:50 UTC
My best guess is that this is a dependency problem with PyOpenGL... please
reassign if it's actually another package.

Description of problem:
Tried to enable 3d mode in glchess from gnome-games.  It told me to install
Python GL and GtkGLExt bindings for this to work.
I did a "yum install pygtkglext" and "yum install PyOpenGL".

After this, glchess fails to start.  (Silently, if running from the Gnome menu.)
 This is due to a failure to load libglut.so.3.  See attached output log.

"yum install freeglut" fixes this problem -- it appears it needs to be added as
a dependency to PyOpenGL.

Version-Release number of selected component (if applicable):
PyOpenGL-3.0.0-0.3.a6.fc7
pygtkglext-1.1.0-2.fc7

How reproducible:
Everytime

Steps to Reproduce:
1. yum install PyOpenGL pygtkglext
2. $ glchess

Comment 1 Eric Harney 2007-06-01 13:33:50 UTC
Created attachment 155876 [details]
glchess output

Comment 2 Hans de Goede 2007-06-02 06:24:30 UTC
Strange, because PyOpenGL already requires freeglut:
[hans@shalem ~]$ rpm -q --requires PyOpenGL
PyOpenGL-3.0.0-0.3.a6.fc7.noarch
freeglut  
libGL  
libGLU  
python(abi) = 2.5
python-numeric  
python-setuptools  
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(VersionedDependencies) <= 3.0.3-1

Could you try "rpm -q --requires PyOpenGL" on this system, as well as:
"rpm -q --whatprovides freeglut"

Maybe this is a x86_64 system and for some reason the i386 version of freeglut
was already installed?


Comment 3 Eric Harney 2007-06-03 13:45:04 UTC
Yes, that is exactly what happened - I had already pulled freeglut.i386 for
something else, so it didn't install the x86_64 freeglut when I installed
gnome-games.

"rpm -q --requires PyOpenGL" looks the same as yours.

# rpm -q --whatprovides freeglut    (after installing the x86_64 one)
freeglut-2.4.0-11.fc7
freeglut-2.4.0-11.fc7

Is there a way to have it depend on the 64 bit freeglut so that this doesn't happen?

Comment 4 Hans de Goede 2007-06-03 14:45:38 UTC
(In reply to comment #3)
> Is there a way to have it depend on the 64 bit freeglut so that this doesn't
happen?

I'm afraid currently this isn't possible and in this specific case its even
harder to achieve as PyOpenGL is a noarch package.



Note You need to log in before you can comment on or make changes to this bug.