| 1 |
S E A R C H A N D R E S C U E |
| 2 |
|
| 3 |
I N S T A L L A T I O N I N S T R U C T I O N S |
| 4 |
|
| 5 |
|
| 6 |
------------------------ |
| 7 |
STEP 0: Before you Begin |
| 8 |
------------------------ |
| 9 |
|
| 10 |
Before you try to build and install Search and Rescue, you'll |
| 11 |
need to have some other packages installed first. What follows |
| 12 |
are a list of libraries and their package names on Debian (and |
| 13 |
Debian related) distributions. |
| 14 |
|
| 15 |
Name -- Package name |
| 16 |
X11 -- libx11-6 |
| 17 |
X11 SM -- libsm-dev |
| 18 |
X11 i -- libx1-dev |
| 19 |
X11 XMU -- libxmu-dev |
| 20 |
SDL -- libsdl1.2-dev (optional for sound) |
| 21 |
SDL Mixer -- libsdl-mixer1.2-dev (option for sound) |
| 22 |
OpenGL -- libglu1-mesa-glx libglu1-mesa-dev |
| 23 |
X11 ICE -- libice6 |
| 24 |
X11 Pixmap -- libXpm-dev |
| 25 |
|
| 26 |
If you find additional dependencies which are not included in your |
| 27 |
distribution, please report them so we can add them to the list. |
| 28 |
|
| 29 |
|
| 30 |
------------------------ |
| 31 |
STEP 1: Configure Source |
| 32 |
------------------------ |
| 33 |
|
| 34 |
Configure the source for your system, type: |
| 35 |
|
| 36 |
# ./configure --listall |
| 37 |
|
| 38 |
This will run the compiler test and print all available |
| 39 |
platforms. Choose the most appropriate platform and |
| 40 |
add any additional arguments as needed (see ./configure --help |
| 41 |
for more information on enabling/disabling and overriding |
| 42 |
source configuration values). |
| 43 |
|
| 44 |
To select your platform simply type the platform name and |
| 45 |
any additional arguments to the ./configure line, example: |
| 46 |
|
| 47 |
# ./configure Linux --prefix=/usr -v |
| 48 |
|
| 49 |
------------------------ |
| 50 |
STEP 2: Building Program |
| 51 |
------------------------ |
| 52 |
|
| 53 |
If there were no problems configuring the source for your |
| 54 |
system, then just type: |
| 55 |
|
| 56 |
# make all |
| 57 |
|
| 58 |
This will start the compiling process. |
| 59 |
|
| 60 |
If you encountered errors, then you should report them to the |
| 61 |
authors. Read the AUTHORS file for a list of addresses. |
| 62 |
|
| 63 |
|
| 64 |
-------------------- |
| 65 |
STEP 3: INSTALLATION |
| 66 |
-------------------- |
| 67 |
|
| 68 |
To install, su to root as needed and type: |
| 69 |
|
| 70 |
# make install |
| 71 |
|
| 72 |
Note: If you specified an alternate prefix in the ./configure |
| 73 |
line then the installation location may be different than shown |
| 74 |
below. |
| 75 |
|
| 76 |
Data files are installed in: |
| 77 |
|
| 78 |
/usr/share/icons/SearchAndRescue.xpm |
| 79 |
/usr/share/icons/SearchAndRescue2.xpm |
| 80 |
/usr/share/icons/SearchAndRescue3.xpm |
| 81 |
|
| 82 |
/usr/man/man6/SearchAndRescue.6.bz2 |
| 83 |
|
| 84 |
$HOME/.SearchAndRescue/ |
| 85 |
|
| 86 |
Program is installed in: |
| 87 |
|
| 88 |
/usr/games/SearchAndRescue |
| 89 |
|
| 90 |
|
| 91 |
Next, you need to install the latest SearchAndRescue data files |
| 92 |
in to the directory. |
| 93 |
|
| 94 |
/usr/share/games/searchandrescue/ |
| 95 |
|
| 96 |
You can obtain the latest data files at the same place where you |
| 97 |
obtained this source. Once you have obtained the data files |
| 98 |
package, su to root as needed and type: |
| 99 |
|
| 100 |
# mkdir -p /usr/share/games/searchandrescue/ |
| 101 |
# cd /usr/share/games/searchandrescue/ |
| 102 |
# tar -zxvf /home/me/SearchAndRescue-data-1.3.0.tar.gz |
| 103 |
|
| 104 |
Alternitively, if you have the SearchAndRescue-data-1.3.0.tar.gz |
| 105 |
file in the top-level source code directory, you can run |
| 106 |
|
| 107 |
# installsardata |
| 108 |
|
| 109 |
This will attempt to unpack the Data file to the proper |
| 110 |
location. |
| 111 |
|
| 112 |
|
| 113 |
|
| 114 |
--------------- |
| 115 |
STEP 4: RUNNING |
| 116 |
--------------- |
| 117 |
|
| 118 |
To run this program type: |
| 119 |
|
| 120 |
# SearchAndRescue & |
| 121 |
|
| 122 |
For additional command line options, type: |
| 123 |
|
| 124 |
# SearchAndRescue --help |
| 125 |
|
| 126 |
Or for more detailed help, read the manual page: |
| 127 |
|
| 128 |
# man SearchAndRescue |
| 129 |
|
| 130 |
|
| 131 |
(Linux only) If you want joystick support then make sure that |
| 132 |
you have compiled joystick support and that your joystick |
| 133 |
driver modules are loaded, to find out type: |
| 134 |
|
| 135 |
# lsmod | grep joy |
| 136 |
|
| 137 |
To load modules type `modprobe <driver>', example: |
| 138 |
|
| 139 |
# modprobe joy-analog |
| 140 |
|
| 141 |
Many joysticks have more axises and buttons than what the |
| 142 |
joystick driver detects on default. Read the documentation |
| 143 |
that came with the joystick driver (usually from the Linux |
| 144 |
kernel source /usr/src/linux/Documentation/joystick.txt). |
| 145 |
|
| 146 |
Example if you have Saitek Cyborg 3D joystick: |
| 147 |
|
| 148 |
# modprobe joy-analog js_an=0x201,1023,0 |
| 149 |
|
| 150 |
|
| 151 |
----------------- |
| 152 |
SEARCH AND RESCUE |