On Thursday 12 January 2006 03:16 pm, Dick Murphy wrote:
> On Thu, 2006-01-12 at 22:48 +0100, Frederic Bouvier wrote:
> > You need to install the g++ compiler.
> >
> > -Fred
>
> OK. Located and installed gcc-g++ compiler. All seems OK.
>
> Cd'd to fgrun-0.4.6 file (it is on my Desktop) and did ./configure. It
> did its thing.
>
> Did "make." It errored out after a lot of work...seemed to not find
> where the files were supposed to go. Should I have been in a different
> location?
>
>
> Thx,
> dick
>

Dick,

Depending on what distro you are using simply typing ./configure may not work.  
This depends on how the directory structure for your distro is set and 
possibly other factors.  Also fgrun uses FLTK which from my experience 
requires additional work to get it to configure correctly.  The configure 
script for fgrun will say that it didn't find fltk but it will  not fail with 
an explicit error message.  So to someone that has limited experience with 
these tools it will appear to be OK.

On my Gentoo machine I had to configure it like this:

$ CPPFLAGS="-I/usr/include/fltk-1.1 LDFLAGS="-L/usr/lib/fltk-1.1 
-L/usr/lib" ./configure --prefix=/usr 

It will likely be different on your machine but this should get you going in 
the right direction.   -I/usr/include/fltk-1.1 tells it where to find the 
fltk include files.  The configure script looks for FL.H and 
-L/usr/lib/fltk-1.1 tells the linker where to look for the fltk libraries.   
Without this it will compile but fail on the lick step.

Hal


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to