On Monday 09 January 2006 05:53 am, AJ MacLeod wrote:
> On Sunday 08 January 2006 04:41, Dick Murphy wrote:
> > Can I ask for some newbie help? What are the steps i need to complete to
> > take the downloaded fgrun file and install it in my Fedora FC4 computer?
> > I'm enjoying the new experience with Linux, but it gets a tad
> > overwhelming sometimes.
> > Thanks in advance,
>
> Hi Dick, I was hoping someone else might reply here - I've not used any
> RedHat or derivative distributions for a long time.  And I don't actually
> have fgrun on my own machine either!  Having said all that, if you're
> really stuck and can hang on a bit, I'll see if I can knock together a few
> step by step instructions as best I can.
>
> It would be helpful to know which version of FG you have installed, which
> directory it's installed in, how you installed it, etc.
>
> The general process of installing fgrun is exactly the same as building
> most other programs from source - basically,
> extract the source somewhere with "tar -xzvf programname.tar.gz"
> move into that newly created directory "cd fgrun.blah"
> run configure - "./configure" is often enough although you might
> occasionally need to supplement that with some paths

Here is where I had to do some additional things to get fgrun to build.  It 
uses FLTK and as a result, at least on my Gentoo machine, I had to make sure 
that it could find where the FLTK headers and libraries were installed.

I had to configure with:

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

The exact values you need to set for CPPFLAGS, LDFLAGS and prefix will depend 
on how things are setup on your machine (distro).  When you run configure 
without setting CPPFLAGS and LDFLAGS if it fails you need to look at the 
output and try to figure out what it is missing and where it is currently 
looking.  When you see what it is looking for you can use the locate command 
to find where those things actually are and then use a variation of the above 
to get it to configure.

I have also had this same problem with other FLTK apps.  So this is not fgrun 
specific.  I don't know if you will run into this same problem as it may be 
Gentoo specific. 

> run "make"
> run (as root) "make install" to install the program system-wide.

After it is configured the above should work without a hitch.  By the way 
fgrun is a nice little utility.  It includes interfacing to Atlas and a 
number of other features like selecting aircraft, location, weather....

>
> Any more specific hints you need will require me to go and fetch the fgrun
> source and build it here first so I can remind myself of any options or
> paths you might need to specify.
>
> Cheers,
>
> AJ
>
>
> -------------------------------------------------------
> 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


-------------------------------------------------------
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