Thread: [tuxracer-main] Tuxracer & glx.h problems
Status: Beta
Brought to you by:
jfpatry
From: Daniel F. <fi...@bo...> - 2000-10-24 23:37:44
|
Hi all, On trying to compile tuxracer (as shown below) it wond find glx.h for some reason... although I have it? [root@finny tuxracer-0.60.3]$ ./configure <SNIP> checking for GL library... yes checking for glXGetProcAddressARB... yes checking for GLU library... yes checking for GL/gl.h... yes checking for GL/glx.h... no configure: error: Cannot find GL/glx.h I run x4.0.1 with dri enabled... which runs the latest tdfx drivers from 3dfx... I have no problems running quake3... I also have Mesa-3.3 installed... so I am pretty stumped to why it can't find it... [root@finny tuxracer-0.60.3]$ locate glx.h /usr/local/include/GL/glx.h /usr/X11R6/include/GL/glx.h /usr/local/include/GL is symlinked to /usr/include/GL I have tried specifying --with-gl-inc=/usr/local/include/GL yet it still dosn't find it... What else can I try? -- Daniel Finn a.k.a. Finny EMAIL: fi...@bo... ICQ: 4886934 MOBILE: +61 (403) 364302 |
From: Steve B. <sjb...@ai...> - 2000-10-25 01:29:44
|
Daniel Finn wrote: > On trying to compile tuxracer (as shown below) it wond find glx.h for > some reason... although I have it? So you have /usr/include/GL/glx.h - and it's readable to all? > I run x4.0.1 with dri enabled... which runs the latest tdfx drivers from > 3dfx... I have no problems running quake3... Doesn't Quake come with it's own GL drivers for 3Dfx? Certainly Quake I did - dunno about II and III. > I also have Mesa-3.3 installed... so I am pretty stumped to why it can't > find it... > > [root@finny tuxracer-0.60.3]$ locate glx.h > /usr/local/include/GL/glx.h > /usr/X11R6/include/GL/glx.h > > /usr/local/include/GL is symlinked to /usr/include/GL That certainly *sounds* OK - although I'd be concerned with having two copies on my disk. The "correct" place for all OpenGL headers is in /usr/include/GL and the libraries should all be in /usr/lib/libGL* Having more than one copy of OpenGL on your machine is a recipie for grief and confusion because 'configure' scripts can be written to pick up one or another version - so you can easily end up with "Quake 3 works - but TuxRacer doesn't" symptoms. -- Steve Baker HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://web2.airmail.net/sjbaker1 Projects : http://plib.sourceforge.net http://tuxaqfh.sourceforge.net http://tuxkart.sourceforge.net http://prettypoly.sourceforge.net |
From: Daniel F. <fi...@bo...> - 2000-10-25 08:09:03
|
Steve Baker wrote: > > Daniel Finn wrote: > > > On trying to compile tuxracer (as shown below) it wond find glx.h for > > some reason... although I have it? > > So you have /usr/include/GL/glx.h - and it's readable to all? yep global readable... made it global execute just to make sure... > > I run x4.0.1 with dri enabled... which runs the latest tdfx drivers from > > 3dfx... I have no problems running quake3... > > Doesn't Quake come with it's own GL drivers for 3Dfx? Certainly Quake I > did - dunno about II and III. not quake3... q1 and q2 did run their own versions of mesa though... > > I also have Mesa-3.3 installed... so I am pretty stumped to why it can't > > find it... > > > > [root@finny tuxracer-0.60.3]$ locate glx.h > > /usr/local/include/GL/glx.h > > /usr/X11R6/include/GL/glx.h > > > > /usr/local/include/GL is symlinked to /usr/include/GL > > That certainly *sounds* OK - although I'd be concerned with having two > copies on my disk. The "correct" place for all OpenGL headers is in > /usr/include/GL and the libraries should all be in /usr/lib/libGL* > > Having more than one copy of OpenGL on your machine is a recipie > for grief and confusion because 'configure' scripts can be written > to pick up one or another version - so you can easily end up with > "Quake 3 works - but TuxRacer doesn't" symptoms. there is two because the one in /usr/local belongs to Mesa-3.3 and the second belongs to the dri drivers of my video card... they are both versions of mesa... I'm not sure if the dri ones are modified or not so I thought they'd be better off left alone... but I have tried removing the /usr/local ones... still didn't pick it up... but if configure found two copies of a file would it cause it to return that it dosn't exist? dosn't seem logical... -- Daniel Finn a.k.a. Finny EMAIL: fi...@bo... ICQ: 4886934 MOBILE: +61 (403) 364302 |
From: Daniel F. <fi...@bo...> - 2000-10-25 08:38:37
|
Daniel Finn wrote: > > Steve Baker wrote: > > > > Daniel Finn wrote: > > > > > On trying to compile tuxracer (as shown below) it wond find glx.h for > > > some reason... although I have it? > > > > So you have /usr/include/GL/glx.h - and it's readable to all? > > yep global readable... made it global execute just to make sure... > > > > I run x4.0.1 with dri enabled... which runs the latest tdfx drivers from > > > 3dfx... I have no problems running quake3... > > > > Doesn't Quake come with it's own GL drivers for 3Dfx? Certainly Quake I > > did - dunno about II and III. > > not quake3... q1 and q2 did run their own versions of mesa though... > > > > I also have Mesa-3.3 installed... so I am pretty stumped to why it can't > > > find it... > > > > > > [root@finny tuxracer-0.60.3]$ locate glx.h > > > /usr/local/include/GL/glx.h > > > /usr/X11R6/include/GL/glx.h > > > > > > /usr/local/include/GL is symlinked to /usr/include/GL > > > > That certainly *sounds* OK - although I'd be concerned with having two > > copies on my disk. The "correct" place for all OpenGL headers is in > > /usr/include/GL and the libraries should all be in /usr/lib/libGL* > > > > Having more than one copy of OpenGL on your machine is a recipie > > for grief and confusion because 'configure' scripts can be written > > to pick up one or another version - so you can easily end up with > > "Quake 3 works - but TuxRacer doesn't" symptoms. > > there is two because the one in /usr/local belongs to Mesa-3.3 and the > second belongs to the dri drivers of my video card... they are both > versions of mesa... I'm not sure if the dri ones are modified or not so > I thought they'd be better off left alone... but I have tried removing > the /usr/local ones... still didn't pick it up... > > but if configure found two copies of a file would it cause it to return > that it dosn't exist? dosn't seem logical... ok... by putting the Mesa-3.3 include/GL in /usr/include/GL it compiled... but now it isn't being hardware accelerated... I'll play round for a while... I gather there is a stale Mesa lying in /usr/lib or something... > -- Daniel Finn a.k.a. Finny > EMAIL: fi...@bo... > ICQ: 4886934 > MOBILE: +61 (403) 364302 > _______________________________________________ > tuxracer-main mailing list > tux...@li... > http://lists.sourceforge.net/mailman/listinfo/tuxracer-main -- Daniel Finn a.k.a. Finny EMAIL: fi...@bo... ICQ: 4886934 MOBILE: +61 (403) 364302 |
From: Steve B. <sjb...@ai...> - 2000-10-25 13:57:55
|
Daniel Finn wrote: > > Steve Baker wrote: > > > > Daniel Finn wrote: > > > > > On trying to compile tuxracer (as shown below) it wond find glx.h for > > > some reason... although I have it? > > > > So you have /usr/include/GL/glx.h - and it's readable to all? > > yep global readable... made it global execute just to make sure... Nah - it only need to be readable. Well the next step is to look into tuxracers "config.log" file which logs what exactly the configure script did in order to test for that file - and what error messages were emitted when it went wrong. I can't imagine what that could possibly be - but we'll find out from the log. > > Having more than one copy of OpenGL on your machine is a recipie > > for grief and confusion because 'configure' scripts can be written > > to pick up one or another version - so you can easily end up with > > "Quake 3 works - but TuxRacer doesn't" symptoms. > > there is two because the one in /usr/local belongs to Mesa-3.3 and the > second belongs to the dri drivers of my video card... they are both > versions of mesa... I'm not sure if the dri ones are modified or not so > I thought they'd be better off left alone... but I have tried removing > the /usr/local ones... still didn't pick it up... > > but if configure found two copies of a file would it cause it to return > that it dosn't exist? dosn't seem logical... No - it wouldn't make it say that. I just get nervous when people have multiple OpenGL/Mesa versions installed. It *ALWAYS* causes problems - and I bet I answer 30 questions per week that boil down to having the wrong OpenGL installed...with various "interesting" variations. -- Steve Baker HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://web2.airmail.net/sjbaker1 Projects : http://plib.sourceforge.net http://tuxaqfh.sourceforge.net http://tuxkart.sourceforge.net http://prettypoly.sourceforge.net |