Updated README.Linux
Moved to version 0.6.2
This commit is contained in:
parent
93b23973c7
commit
9bde37c21c
2 changed files with 47 additions and 12 deletions
55
README.Linux
55
README.Linux
|
@ -8,9 +8,9 @@ FlightGear up and running under Linux.
|
||||||
|
|
||||||
You need to understand the concepts of 3D acceleration under Linux and
|
You need to understand the concepts of 3D acceleration under Linux and
|
||||||
the needed libraries. An excellent source of information is the "Linux
|
the needed libraries. An excellent source of information is the "Linux
|
||||||
3Dfx HOWTO" which can be found at
|
Quake-HOWTO" which can be found at
|
||||||
|
|
||||||
http://www.gamers.org/dEngine/xf3D/howto/3Dfx-HOWTO.html
|
http://www.linuxquake.com
|
||||||
|
|
||||||
If anything seem to be wrong with your 3D setup, check there first!
|
If anything seem to be wrong with your 3D setup, check there first!
|
||||||
|
|
||||||
|
@ -49,6 +49,45 @@ need"
|
||||||
grabbed the latest version of mesa, you should have everything you
|
grabbed the latest version of mesa, you should have everything you
|
||||||
need.
|
need.
|
||||||
|
|
||||||
|
Alternatively, you can use the 3D-stuff that came along with your
|
||||||
|
Linux distribution. At least RedHat (5.3 and later) and S.u.S.E. 6.0
|
||||||
|
(or later) contain all the things you need.
|
||||||
|
|
||||||
|
- (optional) the 3DFX kernel module.
|
||||||
|
|
||||||
|
Without this thingy installed, access to your accelerator board
|
||||||
|
needs to be SUID root, which bad practice (and a _huge_ security
|
||||||
|
hole). Get the 3DFX module from
|
||||||
|
|
||||||
|
http://www.xs4all.nl/~carlo17/3dfx/index.html
|
||||||
|
|
||||||
|
and install it:
|
||||||
|
|
||||||
|
mkdir 3dfx
|
||||||
|
cd 3dfx
|
||||||
|
tar xvfz ../Dev3Dfx-2.7.tar.gz
|
||||||
|
make
|
||||||
|
cp 3dfx.o /lib/modules/`uname -r`/misc
|
||||||
|
mknod /dev/3dfx c 107 0
|
||||||
|
insmod 3dfx
|
||||||
|
|
||||||
|
alternatively, you can get the RPM from there ind use rpm for
|
||||||
|
installation.
|
||||||
|
|
||||||
|
- Steve Baker's plib library.
|
||||||
|
|
||||||
|
get it from
|
||||||
|
|
||||||
|
http://www.woodsoup.org/projs/plib/
|
||||||
|
|
||||||
|
and follow the instructions in README.plib.
|
||||||
|
|
||||||
|
- (optional) the gpc and gfc libraries.
|
||||||
|
|
||||||
|
Read the README.g[fp]c files to understand what they are good for
|
||||||
|
and decide whether you need to download them. If you don't want to
|
||||||
|
build your own sceneries, you might not need them.
|
||||||
|
|
||||||
2. Build FlightGear:
|
2. Build FlightGear:
|
||||||
|
|
||||||
You will need the following files:
|
You will need the following files:
|
||||||
|
@ -94,15 +133,9 @@ This will install the binaries in /usr/local/bin. Notice that the name
|
||||||
of the FlightGear binary is "fgfs".
|
of the FlightGear binary is "fgfs".
|
||||||
|
|
||||||
Another problem with Linux/Glide is permission-related. All programs
|
Another problem with Linux/Glide is permission-related. All programs
|
||||||
accessing the Accelerator board need root permissions. The solution is
|
accessing the Accelerator board need root permissions (or the kernel
|
||||||
either to play as root or make the /usr/local/bin/fgfs binary "setuid
|
module mentioned above installed). I _strongly_ recommend the latter.
|
||||||
root", i.e. when this binary is run root priviledges are given. Do
|
|
||||||
this by issuing (as root)
|
|
||||||
|
|
||||||
chmod +s /usr/local/bin/fgfs
|
|
||||||
|
|
||||||
A solution for this problem is upcoming, keep an eye on the 3Dfx
|
|
||||||
website.
|
|
||||||
|
|
||||||
3. Install the data files
|
3. Install the data files
|
||||||
|
|
||||||
|
@ -196,3 +229,5 @@ adjusted for your specific architecture:
|
||||||
export CFLAGS="-mieee -mcpu=ev56 -Wa,-m21164a -pipe -g"
|
export CFLAGS="-mieee -mcpu=ev56 -Wa,-m21164a -pipe -g"
|
||||||
export CXXFLAGS="-mieee -mcpu=ev56 -Wa,-m21164a -pipe -g"
|
export CXXFLAGS="-mieee -mcpu=ev56 -Wa,-m21164a -pipe -g"
|
||||||
./configure
|
./configure
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ dnl $Id$
|
||||||
AC_INIT(Simulator/Aircraft/aircraft.cxx)
|
AC_INIT(Simulator/Aircraft/aircraft.cxx)
|
||||||
|
|
||||||
dnl Initialize the automake stuff
|
dnl Initialize the automake stuff
|
||||||
AM_INIT_AUTOMAKE(FlightGear, 0.6.1)
|
AM_INIT_AUTOMAKE(FlightGear, 0.6.2)
|
||||||
|
|
||||||
dnl configure other independant packages included with flight gear for
|
dnl configure other independant packages included with flight gear for
|
||||||
dnl convenience
|
dnl convenience
|
||||||
|
|
Loading…
Add table
Reference in a new issue