Further to my attempts to get Xastir displaying raster maps, I decided to compile from source.
A previous verson of xastir (2.0.0) was installed in / sr/bin/ directory: I decided to leave it there.
These notes are written some 12 hours after the event, so I hope my memory (& examination of history)
is accurate enough.
First step was to add
Code: Select all
deb-src http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free
to /etc/apt/sources.list, perform apt-get update, cd to /usr/local/src/ then we are ready to begin.
This should get you a .tar.gz file which when extracted with
gets you a directory of the same name (in this case xastir-2.0.4) with all the relevant files within.
cd to this directory : you will see a scriptfile called 'configure' which is the file we are about to run.
but before this you will need to install some other packages/headers to avoid your pre-compile failing.
I discovered that on my system i needed to do the following before 'configure' would run
Code: Select all
sudo apt-get install graphicsmagick libx11-dev festival gpsman lesstif2-dev libgraphicsmagick1-dev
From what I can work out, Festival provides optional speech output, gpsman optional gps support,
graphicsmagick is for displaying raster maps, libx11-dev and libgraphicsmagick1-dev provides header files,
and lesstif2-dev provides Motif support.
Now we are ready to run our pre-compile script:
this then runs our configure script, checking for problems in our environment and generating two files,
summary.log & config.log one of which handily summarises at the end what options are possible e.g. a minimum and maximum
finished install - unfortunately I do not yet know how to choose from these options.
Each time you run this script it appends data to the two logs ( as i found out, fixing each stage in turn!).
With no major problems withe the configure, we can proceed to compilation proper:
this appeared to take about 30 minutes or so, and didn't seem to throw up any serious errors so the next step is
Finally to get a Desktop shortcut
Code: Select all
cd /home/pi/Desktop
ln -s /usr/local/bin/xastir xastir_2.0.4
Hopefully this will get you an up-to-date xastir compiled from source.
Unfortunately I still have my problem in that raster maps fail to display.
