Re: [Flightgear-devel] FC2 .rpm on FlightGear website being distributed with freeglut 2.4!

2006-04-10 Thread Steve Hosgood

Chris Metzler wrote:


Hi.  We had a Fedora Core user come into the IRC channel tonight, unable
to get FG to run without crashing.  He'd downloaded the 0.9.9 rpm from
the links provided on the FlightGear website.  It turns out that that
.rpm is built against, and distributes, freeglut 2.4; so it crashes
with the usual 


freeglut (fgfs) : Failed to create cursor
freeglut ERROR: Function glutSetCursor called without first calling 'glutinit'

errors.

If we're imminently releasing 0.9.10, it'd be good to avoid the same
issue with the new release.

-c

 

Thanks for the comment Chris. I wrote the RPMs for the 0.9.8 and 0.9.9 
linux releases on the main server (and am therefore the de facto 
maintainer of them :-( ).


I was planning on doing 0.9.10 as soon as I can. I hadn't been aware of 
any troubles with the existing 0.9.9 though. I tested 0.9.9 on FC2 and 
FC4 before releasing and it all seemed OK then. I tend to run FG at home 
on my FC2 machine - my work machine doesn't currently have the Nvidia 
drivers installed for its antique Quadra card.


Freeglut is not distributed by the Flightgear RPMs, though Flightgear 
RPMs obviously requires it. I've got bog standard FC4 and freeglut 
2.2.0-16 on my work machine for instance, no sign of freeglut 2.4... 
Flightgear RPM doesn't insist on any particular version of freeglut BTW, 
just whatever is available.


What's the fix? Insist on only a certain version of Freeglut?

Thanks in advance.
Steve Hosgood.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FC2 .rpm on FlightGear website being distributed with freeglut 2.4!

2006-04-10 Thread James Turner
On 10 Apr 2006, at 12:01, Steve Hosgood wrote:What's the fix? Insist on only a certain version of Freeglut? In my local build on FC5, I just switched to SDL. And yes, I hit this issue as well, and was thoroughly confused by it. Perhaps configure should AC_WARN loudly when it detects freeglut? (or some specific range of freglut versions)Regards,James

Re: [Flightgear-devel] FC2 .rpm on FlightGear website being distributed with freeglut 2.4!

2006-04-10 Thread Steve Hosgood




Chris Metzler wrote:

  
I've got bog standard FC4 and freeglut 
2.2.0-16 on my work machine for instance, no sign of freeglut 2.4... 

  
  
He was on FC5; maybe they're distributing freeglut 2.4 at this point.


  

Quite right, they are. Annoyingly, they don't seem to be distributing
"freeglut22" which would be the specific version 2.2 freeglut. Some
other RPMs are done this sort of way, just to allow certain programs
to continue using an old version of a library.

  
  
Flightgear RPM doesn't insist on any particular version of freeglut
BTW, just whatever is available.

What's the fix? Insist on only a certain version of Freeglut?

  
  
Yeah.  Or go the SDL route.

I take it we can't just fix FG to call freeglut's 'init()' routine as
requested?

   The problem is that when people try it
and it crashes in this fashion, the majority aren't going to react
with "oh wow, freeglut must be buggy."  They're going to think the
problem is with FG.  It sucks, but that's reality. 

Agreed.

   The advantage
of the SDL route, I guess, is that if you demand freeglut  2.4,
there's a chance of a conflict if they have something else
installed which requires freeglut = 2.4.

  


As I indicated earlier, the "right way" to do this sort of thing on
RPM-ed machines is usually to have a special package called (say)
'freeglut22' providing such a thing. Then it doesn't conflict with
'freeglut' which may also be installed.

Such a thing doesn't seem to be available on FC5 currently. We could
provide one I suppose, or like you say, use SDL instead.

Steve





[Flightgear-devel] FC2 .rpm on FlightGear website being distributed with freeglut 2.4!

2006-04-09 Thread Chris Metzler

Hi.  We had a Fedora Core user come into the IRC channel tonight, unable
to get FG to run without crashing.  He'd downloaded the 0.9.9 rpm from
the links provided on the FlightGear website.  It turns out that that
.rpm is built against, and distributes, freeglut 2.4; so it crashes
with the usual 

freeglut (fgfs) : Failed to create cursor
freeglut ERROR: Function glutSetCursor called without first calling 'glutinit'

errors.

If we're imminently releasing 0.9.10, it'd be good to avoid the same
issue with the new release.

-c

-- 
Chris Metzler   [EMAIL PROTECTED]
(remove snip-me. to email)

As a child I understood how to give; I have forgotten this grace since I
have become civilized. - Chief Luther Standing Bear


signature.asc
Description: PGP signature