Red Hat Bugzilla – Bug 18866
tuxracer 0.60 does not build against Mesa-devel-3.3-5
Last modified: 2007-04-18 12:29:13 EDT
when trying to build tuxracer-0.60.1, I get the following error, which goes
away after I download the current version of glext.h from
make: Entering directory `/tmp/tuxracer-0.60.1'
Making all in src
make: Entering directory `/tmp/tuxracer-0.60.1/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I/usr/include -O2
-I/usr/X11R6/include -DDATA_DIR=\"/tmp\" -c course_load.c
In file included from course_load.c:30:
gl_util.h:55:5: # error "*** You need a more recent copy of glext.h. You
can get one at http://oss.sgi.com/projects/ogl-sample/ABI/glext.h ; it goes
in /usr/include/GL. ***"
make: *** [course_load.o] Error 1
make: Leaving directory `/tmp/tuxracer-0.60.1/src'
make: *** [all-recursive] Error 1
make: Leaving directory `/tmp/tuxracer-0.60.1'
make: *** [all-recursive-am] Error 2
I am using this version of Mesa-devel
> rpm -qfi /usr/include/GL/glext.h
Name : Mesa-devel Relocations: (not relocateable)
Version : 3.3 Vendor: Red Hat, Inc.
Release : 5 Build Date: Wed 09 Aug 2000
06:52:10 AM PDT
Install date: Tue 10 Oct 2000 07:33:50 PM PDT Build Host:
Group : Development/Libraries Source RPM: Mesa-3.3-5.src.rpm
Size : 2756672 License: GPL/XFree86
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL : http://www.mesa3d.org/
Summary : Development files for the Mesa 3-D graphics library.
Mesa-devel contains the static version of the Mesa 3-D graphics
library (a graphics toolkit very similar to Silicon Graphics' OpenGL
graphics utilities toolkit) and includes files needed for development.
If you're going to develop Mesa applications, you'll need to install
mesa-devel. If you're just going to use Mesa, you don't need to
Copying in the header file from SGI OpenGL to Mesa will cause all sorts of
problems and is definitely not the right fix for this.
I'm checking what current versions of Mesa are doing.
Created attachment 4044 [details]
Fix for tuxracer
There's no reason whatsoever why tuxracer should require the newer glext.h.
It compiles without problems and starts (can't test anything more, I don't have
3D hardware) if you simply remove the check (patch attached).