LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-13-2002, 05:26 PM   #1
Infinity
Member
 
Registered: Sep 2001
Location: USA
Distribution: Fedora 10, Nokia N800 OS2008
Posts: 56

Rep: Reputation: 15
compiling simgear and flightgear


I have openGL working on my redhat 7.3 computer via Mesa. The gears demos work fine, as does Terminus.

I want to compile and install simgear, which is required for flightgear.

I compile simgear and it ends with these lines:


checking for XmuLookupStandardColormap in -lXmu... yes
checking for glNewList in -lGLcore... no
checking for glNewList in -lGL... yes
checking for gluLookAt in -lGLU... yes
checking for glutGetModifiers in -lglut... no
checking for glutGameModeString in -lglut... no

Unable to find the necessary OpenGL or GLUT libraries.
See config.log for automated test details and results ...


The log doesn't tell me anything intelligible. These files should be the relevant ones yes?


/usr/lib/libglut.so.3
/usr/lib/libglut.so.3.7
/usr/lib/libglut.so
/usr/include/GL/fglut.h
/usr/include/GL/glut.h
/usr/local/include/GL/glut.h
/usr/local/include/GL/glutf90.h
/usr/local/lib/libglut.so.3.7.0
/usr/local/lib/libglut.so.3
/usr/local/lib/libglut.so
/usr/local/lib/libglut.la


How do I tell simgear to use those libraries in /usr/lib?. --with-gl and --with-opengl don't change the outcome.
 
Old 12-15-2002, 11:10 AM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Did you install mesa from a tarball or by rpm?
 
Old 12-15-2002, 02:38 PM   #3
Infinity
Member
 
Registered: Sep 2001
Location: USA
Distribution: Fedora 10, Nokia N800 OS2008
Posts: 56

Original Poster
Rep: Reputation: 15
Version 4.02 from a Tarball installed as an RPM using Checkinstall. I'm noticing there is a version 5 now.
 
Old 12-15-2002, 07:14 PM   #4
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Maybe you should try installing it the traditional way first.
 
Old 12-16-2002, 01:06 AM   #5
Infinity
Member
 
Registered: Sep 2001
Location: USA
Distribution: Fedora 10, Nokia N800 OS2008
Posts: 56

Original Poster
Rep: Reputation: 15
It is installed correctly. UT2003 demo works, as does Terminus, as do the gears screen savers.
 
Old 12-16-2002, 11:06 AM   #6
Infinity
Member
 
Registered: Sep 2001
Location: USA
Distribution: Fedora 10, Nokia N800 OS2008
Posts: 56

Original Poster
Rep: Reputation: 15
I have solved this problem.

I built the new Mesa 5.0 and installed it, and now SimGear gets further in compilation, asking for the metakit, whatever that is. I'm checking into the readme's as it is directing me to.

Thanks for the suggestions. I guess Mesa 5 really is required.
 
Old 12-16-2002, 11:14 AM   #7
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
One last question, did you use checkinstall when you built Mesa-5.0?
I've built simgear against the previous version of mesa several times with no problems, but I've never bothered with checkinstall.
 
Old 12-16-2002, 11:30 AM   #8
Infinity
Member
 
Registered: Sep 2001
Location: USA
Distribution: Fedora 10, Nokia N800 OS2008
Posts: 56

Original Poster
Rep: Reputation: 15
Yes I built mesa 5 from the tarball using configure, then make, then using "checkinstall make install".

Granted this was all done remotely, so I haven't tested if Mesa is working yet heh heh heh. But I'm hopeful.
 
Old 12-16-2002, 11:41 AM   #9
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Interesting, I wonder if simgear now needs Mesa-5.0?
I might have to download the latest version and do a quick test.
 
Old 12-16-2002, 12:07 PM   #10
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Nope, just installed simgear-0.3.1 without any version of Mesa installed, however I did have glut and the nvidia glx package (which contains nvidia's openGL) installed.
 
Old 07-10-2003, 06:28 AM   #11
MightyKC
Member
 
Registered: Feb 2003
Distribution: Ubuntu 7.10
Posts: 47

Rep: Reputation: 15
I have installed glut and plib and mesa 5. Simgear 0.3.3 wants the metakit library now. I found it within Simgear but when I went into the directory I could not ./configure it. I realize that I probably need to do something like this:
./configure -prefix=/usr

But searching this site, my books, info for make, and the README did not turn up anything that I could use to understand how to configure this.


I also found an rpm for MetaKit-2.4.9.2 and installed that but I still could not proceed with SimGear-0.3.3

Does anyone have a suggestion that I could try?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
flightgear north49er Slackware 4 08-28-2005 03:50 PM
Installing FlightGear sofasurfer Linux - Games 7 05-27-2005 05:25 PM
FlightGear t3gah Linux - Games 11 03-18-2005 01:10 AM
Need FlightGear compiling help sofasurfer Linux - Games 1 01-12-2004 11:42 AM
Flightgear StormShadow Linux - Software 1 01-27-2003 07:29 AM


All times are GMT -5. The time now is 12:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration