Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 7563
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Nick Hadaway <nick@capital-internet.net>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Matthew Rickard <rickardm@nycap.rr.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
PyOpenGL-2.0.0.44.ebuild Updated PyOpenGL ebuild text/plain Matthew Rickard 2002-09-05 23:37 0000 1.21 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 7563 depends on: Show dependency tree
Bug 7563 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2002-09-05 22:23 0000
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 From Matthew Rickard 2002-09-05 23:37:53 0000 -------
Created an attachment (id=3698) [details]
Updated PyOpenGL ebuild

Minor change, added glut as a dependency so that PyOpenGL compiles properly.

------- Comment #2 From Matthew Rickard 2002-09-05 23:38:55 0000 -------
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 From Nick Hadaway 2002-09-11 15:42:20 0000 -------
Added glut to the dependancy list.  Thanks for the bug report!  The updated 
ebuild should be available in portage within 24 hours.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug