Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 109210

Summary: pyopengl-2.0.1.09 doesn't build due to missing GL/glut.h
Product: Gentoo Linux Reporter: Manfred Stienstra <manfred.stienstra>
Component: [OLD] UnspecifiedAssignee: Python Gentoo Team <python>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Manfred Stienstra 2005-10-13 13:58:16 UTC
When I try to emerge dev-python/pyopengl-2.0.1.09, I get the following error:

creating build/temp.linux-i686-2.4/src/interface_util
i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O3
-march=athlon-xp -pipe -fPIC -DGLX_PLATFORM -DNUMERIC -I/usr/include/python2.4
-I/usr/include -I/usr/local/include -I/usr/X11/include -I/usr/X11R6/include
-I/usr/include/python2.4/Numeric -I/usr/include -I/usr/local/include
-I/usr/X11/include -I/usr/X11R6/include -I/usr/include/python2.4/Numeric -c
src/interface_util/interface_util.c -o
build/temp.linux-i686-2.4/src/interface_util/interface_util.o
In file included from src/interface_util/interface_util.c:1:
src/interface_util/../config.h:103:21: GL/glut.h: No such file or directory
src/interface_util/interface_util.c: In function `Numeric_PyObject_AsFloatArray':
src/interface_util/interface_util.c:712: warning: passing arg 1 of pointer to
function from incompatible pointer type
src/interface_util/interface_util.c: In function `Numeric_PyObject_AsDoubleArray':
src/interface_util/interface_util.c:715: warning: passing arg 1 of pointer to
function from incompatible pointer type
src/interface_util/interface_util.c: In function `Numeric_PyObject_AsCharArray':
src/interface_util/interface_util.c:718: warning: passing arg 1 of pointer to
function from incompatible pointer type
src/interface_util/interface_util.c: In function
`Numeric_PyObject_AsUnsignedCharArray':
src/interface_util/interface_util.c:721: warning: passing arg 1 of pointer to
function from incompatible pointer type
src/interface_util/interface_util.c: In function `Numeric_PyObject_AsShortArray':
src/interface_util/interface_util.c:724: warning: passing arg 1 of pointer to
function from incompatible pointer type
src/interface_util/interface_util.c: In function `Numeric_PyObject_AsIntArray':
src/interface_util/interface_util.c:730: warning: passing arg 1 of pointer to
function from incompatible pointer type
error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1

!!! ERROR: dev-python/pyopengl-2.0.1.09 failed.

I tried eselect opengl set xorg-x11 and I tried to re-emerge xorg-x11, but that
didn't help.

Reproducible: Always
Steps to Reproduce:
1. emerge pyopengl
2.
3.
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2005-11-01 11:19:54 UTC
are you on modular X?
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2005-11-01 11:20:52 UTC
That re-assign was a misclick.
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2005-11-01 13:33:02 UTC
Yeah that was a dumb question. But the glut package doesn't install glut.h, in
fact. Nothing I've got installs it.
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2005-11-03 13:07:36 UTC
pretty sure glut package instaleld /usr/include/GL/glut.h. 
Comment 5 Manfred Stienstra 2005-11-06 13:32:05 UTC
Ok, reinstalling glut fixed it somehow. I guess the glut file got lost during
the xorg update or something.
Comment 6 Doug Goldstein (RETIRED) gentoo-dev 2005-11-06 20:35:58 UTC
re-emerging glut does fix the issue. Closing this bug.