Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7563 - PyOpenGL-2.0.0.44 fails to build with gcc 3.2/Gentoo 1.4
Summary: PyOpenGL-2.0.0.44 fails to build with gcc 3.2/Gentoo 1.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-05 22:23 UTC by Matthew Rickard
Modified: 2003-02-04 19:42 UTC (History)
0 users

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


Attachments
Updated PyOpenGL ebuild (PyOpenGL-2.0.0.44.ebuild,1.21 KB, text/plain)
2002-09-05 23:37 UTC, Matthew Rickard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Rickard 2002-09-05 22:23:30 UTC
I'm running a Gentoo 1.4 beta/gcc 3.2 system.

While trying to emerge wxPython, PyOpenGL-2.0.0.44 is emerged as a dependency. 
The compilation of PyOpenGL fails with the following error:

cc1: warning: changing search order for system directory "/usr/include"
cc1: warning:   as it has already been specified as a non-system directory
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: `GLUT_STROKE_ROMAN' undeclared (first use in t
his function)
src/interface/GLUT.0001.inc:1120: (Each undeclared identifier is reported only o
nce
src/interface/GLUT.0001.inc:1120: for each function it appears in.)
src/interface/GLUT.0001.inc:1122: `GLUT_STROKE_MONO_ROMAN' undeclared (first use
 in this function)
src/interface/GLUT.0001.inc:1124: `GLUT_BITMAP_9_BY_15' undeclared (first use in
 this function)
src/interface/GLUT.0001.inc:1126: `GLUT_BITMAP_8_BY_13' undeclared (first use in
 this function)
src/interface/GLUT.0001.inc:1128: `GLUT_BITMAP_TIMES_ROMAN_10' undeclared (first
 use in this function)
src/interface/GLUT.0001.inc:1130: `GLUT_BITMAP_TIMES_ROMAN_24' undeclared (first
 use in this function)
error: command 'gcc' failed with exit status 1

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 2721, Exitcode 1
!!! (no error message)


I'm not sure if this is a universal issue or only a gcc 3.2 issue, since I don't
have a gcc 2.95 system available to test.
Comment 1 Matthew Rickard 2002-09-05 23:37:53 UTC
Created attachment 3698 [details]
Updated PyOpenGL ebuild

Minor change, added glut as a dependency so that PyOpenGL compiles properly.
Comment 2 Matthew Rickard 2002-09-05 23:38:55 UTC
I have found the problem.  It is not a gcc 3.2 issue, but an unrelated
dependency issue.  PyOpenGL-2.0.0.44 needs the header file glut.h.  This header
is included with glut-3.7-r2.  

glut should be made a dependency for the PyOpenGL ebuild.  I've updated the
ebuild with this small change.  It is attached and the build process now works
as expected.
Comment 3 Nick Hadaway 2002-09-11 15:42:20 UTC
Added glut to the dependancy list.  Thanks for the bug report!  The updated 
ebuild should be available in portage within 24 hours.