Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63901 - pyopengl-2.0.0.44 fails to compile
Summary: pyopengl-2.0.0.44 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-13 09:13 UTC by fbusse
Modified: 2004-12-16 15:01 UTC (History)
1 user (show)

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 fbusse 2004-09-13 09:13:32 UTC
gcc -fno-strict-aliasing -DNDEBUG -O3 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -fPIC -DGLX_PLATFORM -I/usr/include -I/usr/local/include -I/usr/X11R6/include -I/usr/lib/tk8.4/include -Isrc/gle/src -I/usr/include/python2.3 -c src/interface/GLUT.c -o build/temp.linux-i686-2.3/src/interface/GLUT.o
src/interface/GLUT.c:6:21: GL/glut.h: No such file or directory
In file included from src/interface/GLUT.c:21:
src/interface/GLUT.0001.inc: In function `_PyInt_AsFont':
src/interface/GLUT.0001.inc:1120: error: `GLUT_STROKE_ROMAN' undeclared (first use in this function)
src/interface/GLUT.0001.inc:1120: error: (Each undeclared identifier is reported only once
src/interface/GLUT.0001.inc:1120: error: for each function it appears in.)
src/interface/GLUT.0001.inc:1122: error: `GLUT_STROKE_MONO_ROMAN' undeclared (first use in this function)
src/interface/GLUT.0001.inc:1124: error: `GLUT_BITMAP_9_BY_15' undeclared (first use in this function)
src/interface/GLUT.0001.inc:1126: error: `GLUT_BITMAP_8_BY_13' undeclared (first use in this function)
src/interface/GLUT.0001.inc:1128: error: `GLUT_BITMAP_TIMES_ROMAN_10' undeclared (first use in this function)
src/interface/GLUT.0001.inc:1130: error: `GLUT_BITMAP_TIMES_ROMAN_24' undeclared (first use in this function)
error: command 'gcc' failed with exit status 1

!!! ERROR: dev-python/pyopengl-2.0.0.44 failed.
!!! Function distutils_src_compile, Line 38, Exitcode 1
!!! compilation failed


Manually emerging media-libs/glut fixed this for me, but I don't see any dependency on glut anywhere (except with USE=opengl somewhere in KDE). Is this dependency simply missing or is it hiding somewhere else and my system is simply broken?
Comment 1 Jonathan S. Romero 2004-09-25 19:45:30 UTC
On my system I already had the current version of glut emerged, but re-emerging fixed my problem with pyopengl compiling.  One thing that recently happened on my system since I previously compiled glut was that I upgraded to xorg-x11, and had manually deleted all the directories from my old xfree installation after unmerging xfree.

I'm now using the ~x86 version of xorg.
Comment 2 Rob Cakebread (RETIRED) gentoo-dev 2004-12-16 15:01:45 UTC
Closing. pyopengl now depends on virtual/glut