Re: [Flightgear-users] Re: Flightgear-users Digest, Vol 25, Issue 6

2005-05-12 Thread Kees Lemmens
Hi,

On Tuesday 10 May 2005 10:07, Erik Hofman wrote:
...

  In my install, I have most of the files and directories (airport,
  aircraft, etc) in
 
  /usr/local/FlightGear-0.9.8/share/FlightGear
 
  so I thought it is the fg-root; in fact, in this directory, there is
  also that version file that contains the version number of
  flightgear,

 Oh man, this really sounds like a mess.
 The normal behaviour is:

 main program:/usr/local/bin/fgfs
 data directory:  /usr/local/shared/FlightGear/data

I do not agree with Eriks remark that this sounds like a mess : it is a 
commonly used method to ensure that EVERYTHING that belongs to a certain 
packet ends up in the same tree without cluttering anything else and can 
thus be easily removed without having to rely on an UN-install script.

It also makes it possible to install everything as a NON-root user by 
giving the directory away prior to running install. Everything that fails  
to install MUST be illegal then (e.g. /etc or /lib ) ;-)

The tree I see above is simply the result of something like :

 ./configure --prefix=/usr/local/FlightGear-0.9.8 --with-plib=/opt/plib \
 --with-simgear=/opt/simgear ..

and there is nothing wrong with that IMO.

Bye,
Kees Lemmens.

___
Flightgear-users mailing list
Flightgear-users@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-users] Re: Flightgear-users Digest, Vol 25, Issue 6

2005-05-12 Thread Erik Hofman
Kees Lemmens wrote:
Hi,
On Tuesday 10 May 2005 10:07, Erik Hofman wrote:
...
In my install, I have most of the files and directories (airport,
aircraft, etc) in
/usr/local/FlightGear-0.9.8/share/FlightGear
so I thought it is the fg-root; in fact, in this directory, there is
also that version file that contains the version number of
flightgear,
Oh man, this really sounds like a mess.
The normal behaviour is:
main program:/usr/local/bin/fgfs
data directory:  /usr/local/shared/FlightGear/data
I do not agree with Eriks remark that this sounds like a mess : it is a 
commonly used method to ensure that EVERYTHING that belongs to a certain 
packet ends up in the same tree without cluttering anything else and can 
thus be easily removed without having to rely on an UN-install script.
That's why we have a data directory, the tree would like something like 
this then:

/opt/FlightGear
/opt/FlightGear/bin
/opt/FlightGear/sbin
/opt/FlightGear/data
/opt/FlightGear/include
This is nothing like he described above.
Erik
___
Flightgear-users mailing list
Flightgear-users@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-users] Re: Flightgear-users Digest, Vol 25, Issue 6

2005-05-12 Thread Kees Lemmens
Hi,

On Thursday 12 May 2005 10:00, Erik Hofman wrote:
 Kees Lemmens wrote:
  Hi,
 
  On Tuesday 10 May 2005 10:07, Erik Hofman wrote:
  ...
 
 In my install, I have most of the files and directories (airport,
 aircraft, etc) in
 
 /usr/local/FlightGear-0.9.8/share/FlightGear
 
 so I thought it is the fg-root; in fact, in this directory, there is
 also that version file that contains the version number of
 flightgear,
 
 Oh man, this really sounds like a mess.
 The normal behaviour is:
 
 main program:/usr/local/bin/fgfs
 data directory:  /usr/local/shared/FlightGear/data
 
  I do not agree with Eriks remark that this sounds like a mess : it
  is a commonly used method to ensure that EVERYTHING that belongs to a
  certain packet ends up in the same tree without cluttering anything
  else and can thus be easily removed without having to rely on an
  UN-install script.

 That's why we have a data directory, the tree would like something like
 this then:

 /opt/FlightGear
 /opt/FlightGear/bin
 /opt/FlightGear/sbin
 /opt/FlightGear/data
 /opt/FlightGear/include


If you run with --prefix=/opt/FlightGear WITHOUT specifying anything else 
you'll end up exactly with what is described by the first writer and not 
with what you show above. 

Bye,
Kees

___
Flightgear-users mailing list
Flightgear-users@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d