Xastir Compile

You should now have the files downloaded, and be in /usr/src/xastir, and ready to start compiling the software. While I encourage you to read the README and INSTALL files for your own understanding, it is not necessary to do so as I have the commands spelled out here for your use. You will need to compile these libraries in order.

LibProj
mkdir proj
mv proj-4.4.8-with-nad.tar.gz proj/.
cd proj
tar -xzvf *.tar
./configure
make && make install
/sbin/ldconfig

LIBTIFF
tar -xzvf tiff-v3.6.1.tar.gz
cd tiff-v3.6.1
./configure
{You will be asked about directory location -- accept the defaults}
make && make install

LIBGEOTIFF
tar -xzvf libgeotiff-1.2.2.tar.gz
cd libgeotiff-1.2.2
./configure
make && make install
/sbin/ldconfig

SHAPELIB
tar -xzvf shapelib-1.2.9.tar.gz
cd shapelib-1.2.9
make lib
make lib_install
/sbin/ldconfig

XASTIR

Note that I build Xastir without some of the features: AX25 (I don't have a TNC wired into my installation, so I do not need the AX25 stuff), Festival (I access Xastir from VNC and there is no sound support), GPSMAN (I do not have a GPS attached to my house), and GDAL (I don't know what GDAL is).


tar -xvzf xastir-1.9.4.tar.gz
cd xastir-1.9.4
./configure --without-ax25 --without-festival --without-gpsman --without-gdal

Pause -- make sure that you are building with ImageMagick, libproj, GeoTiff, ShapeLib, pcre, dbfawk, mapcaching. Check the little report after the configure command to make sure. We do not need the Old stuff, or the Expiremental. We also disabled some features as noted above.

make
make install

The program is now installed into /usr/local/share/xastir, and we have some more things to do before we configure. Inside your terminal, do the following:

cd /usr/local/share/xastir/Counties
cp /usr/src/xastir/usr-local-share-xastir-Counties.tar.gz .
tar -xvzf *.gz
rm *.gz


cd /usr/local/share/xastir/maps
cp /usr/src/xastir/usr-local-share-xastir-maps.tar.gz .
tar -xvzf *.gz
rm *.gz

The program is now installed into /usr/local/share/xastir and we are ready to go and configure the settings.