[Xastir] My latest Ubuntu adventures

Stephen Brown Jr stephen.brown75 at gmail.com
Tue Nov 7 19:20:18 EST 2006


Well, it's too early to see it yet as I am still testing, but compiling
Xastir from source may be a whole lot easier than we originally thought. So
far, here is what I did on a fresh install to get Xastir 6.06 compiled from
source using the tarball off of sourceforge(I didn't go the CVS route, not
yet anyhow):

download the source tarball from sourceforge and extract it somewhere, I
made a src directory under my home directory and extracted it there
sudo apt-get install build-dep xastir
you will also need autoconf, sudo apt-get install autoconf
change to the scripts directory. Inside there is a great script called
get-maptools.sh
This will install all of the needed map libraries etc.
You will need to edit one line of the script, specifically the one that
deals with the XASDIR variable:
XASDIR=$HOME/src/xastir
I just added a * at the end as a wildcard, you could optionally specify the
actual directory
Also add a tmp directory: mkdir $HOME/src/xastir-insert-version-here/tmp or
the script will fail complaining it can't find this directory
run sh maptools.sh
cd ..
sudo ./configure

xastir 1.8.4 has been configured to use the following
options and external libraries:

Building with AX25 ................................. : yes
Building with Festival ............................. : yes
Building with GPSMan ............................... : yes
Building with ImageMagick .......................... : yes
Building with libproj .............................. : yes
Building with GeoTiff .............................. : yes
Building with GDAL/OGR ............................. : yes
Building with ShapeLib ............................. : yes
Building with pcre ................................. : yes
Building with dbfawk ............................... : yes
Building with map caching .......................... : no
----------------------------------------------------------
Building with ErrorPopups (Old Method) ............. : no
Building with libgc (Debug) ........................ : no
Building with profiling (Debug) .................... : no
Building with rtree indexing (Experimental) ........ : no
Building with Linux Standard Base (Experimental) ... : no

sudo make
sudo make install
xastir&

I haven't noticed any issues with building or using it with this method. How
do I enable map caching? I believe that was a configure option but can't
seem to find reference to it anywhere. I'm still testing and I have
succesfully done this on my main linux box as well as a plain vanilla fresh
install of Ubuntu 6.06 in a vmachine. I have a friends box that I am going
to attempt this on as well.

I'd like to add this to the wiki if this seems like a plausible solution, as
I also feel this is the easiest method so far in dealing with this over the
past month.

Anyone have any input?

73's
Stephen
N1VLV



More information about the Xastir mailing list