GL/glext.h error

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).
Post Reply
neighborlee

GL/glext.h error

Post by neighborlee »

during ./configure I get this error ( I it prob.l is also causing the glx error near end of make process) :
--------

checking for GL/gl.h... yes
checking GL/glext.h usability... no
checking GL/glext.h presence... yes
configure: WARNING: GL/glext.h: present but cannot be compiled
configure: WARNING: GL/glext.h: check for missing prerequisite headers?
configure: WARNING: GL/glext.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING: ## ------------------------------------ ##
checking for GL/glext.h... yes
checking whether glext.h is recent enough... yes
checking for glut32 library... no

glut32?..

anyway any idea ona fix..redhat 9 here..
thx ;)
neighborlee
Guest

Re: GL/glext.h error

Post by Guest »

neighborlee wrote:during ./configure I get this error ( I it prob.l is also causing the glx error near end of make process) :
--------

checking for GL/gl.h... yes
checking GL/glext.h usability... no
checking GL/glext.h presence... yes
configure: WARNING: GL/glext.h: present but cannot be compiled
configure: WARNING: GL/glext.h: check for missing prerequisite headers?
configure: WARNING: GL/glext.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING: ## ------------------------------------ ##
checking for GL/glext.h... yes
checking whether glext.h is recent enough... yes
checking for glut32 library... no

glut32?..

anyway any idea ona fix..redhat 9 here..
thx ;)
neighborlee
-------------
never mind on this one sorry
martin
Hunter
Hunter
Posts: 80
Joined: Fri Oct 31, 2003 3:17 pm
Location: Berlin, Germany

Post by martin »

The problem is that the glext.h usability test does not #include <GL/gl.h> which is needed for some typedefs. Maybe this can be fixed in the next release ?
geoffk
Explorer
Explorer
Posts: 13
Joined: Mon Dec 08, 2003 2:52 am

Patch for configure.in

Post by geoffk »

I've had much the same issue. Here's a patch for configure.in which seems to fix the problem. Hope it works for you too.

Code: Select all

--- configure.in.orig   2003-12-07 22:54:58.000000000 +1000
+++ configure.in        2003-12-08 02:55:44.000000000 +1000
@@ -748,7 +748,8 @@
 if test "x$is_macosx" = "xyes" ; then
     have_glext_h=yes
 else
-    AC_CHECK_HEADERS(GL/glext.h, have_glext_h=yes, have_glext_h=no )
+    AC_CHECK_HEADERS(GL/gl.h GL/glext.h, have_glext_h=yes, have_glext_h=no,
+    [[#include <GL/gl.h>]])
 fi

 if test "x$have_glext_h" = "xno" ; then
unts

uata fucka

Post by unts »

not only that but also u have to install the latest nvidia drivers with --opengl-headers option, and after applying the patch run autoconf... i know that this sounds a little obviuos but not all people know this
unts

uata fucka 2

Post by unts »

like my mixed version english? (segmentaion fault ... bad englishe)
KeTZer

Post by KeTZer »

Have the same prob as above and want to try this patch, but how is it to be applied?
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

Save the code above into configure.diff.
You should do
patch configure.in configure.diff

but since it is small, you can edit it yourself and go to the line 748
and remove the line marked with a -
and then add the next two lines with a + (without adding the + of course)
Post Reply