[Xastir] Mepis install with a few typos corrected
gdw
gdw at kc4pl.com
Sat Feb 6 20:22:28 EST 2010
Note: The following is a quick and dirty rough draft that assumes you
are familiar with Linux basics. I did give it quick once over, but all
spelling and grammar errors are included free of charge. (Revision 2 -
fixed 2 typos and added a couple of notes)
Gale
KC4PL
I am writing this as if you have just finished installing Mepis (V8.x)
and now want to do a full compile and install of Xastir.
1. Start the Synaptic Package Manager (you will be required to enter
your root password)
2. Click on "Reload" to update the package lists
Note: If this is a fresh install I would recommend clicking on "Mark
All Upgrades" and "Apply" to get all the security patches and other
upgrades for your system.
3. Mark the following files for install:
Note that is some cases you will only select a "dev" package, the system
will then auto select the base package for you.
You can scroll through the list looking for the packages or just use the
"Search" box.
a. libmotif-dev (will auto mark for install libmotif3)
b. graphicsmagick-libmagick-dev-com
c. xorg-dev
d. x11proto-print-dev
e. libshp-dev (will auto mark for install libshp1)
f. cvs
e. build-essential
f. autoconf
g. automake1.9
4. Click on apply to install the packages.
5. After the packages have finished installing, exit Synaptic.
6. Open a Terminal Window for the following steps.
7. Using nano (or your preferred editor) make a .cvsrc file with the
following lines: (Note the . in front of the file name)
cvs -z3
update -P -d
status -v
diff -u
7. enter the following commands on the command line:
touch .cvspass (again note the . in the file name)
mkdir src
cd src
8. Now we will get the latest source code from the cvs repository
9. type the following in on the command line and when it asks your for a
password, just tap enter.
cvs -d:pserver:anonymous at xastir.cvs.sourceforge.net/cvsroot/xastir
login
10. type in the following to actually download the code
cvs -d:pserver:anonymous at xastir.cvs.sourceforge.net/cvsroot/xastir
co xastir
11. When it finishes, type in cd xastir on the command line to change to
the new directory. (This changes to ~/src/xastir)
12. type in cd scripts on the command line (This changes to
~/src/xastir/scripts)
12. type in su on the command line, enter the root password when asked
for it.
13. type in ./get-maptools.sh on the command line
14. when the above has finished, type in exit on the command line to
exit from su.
15. type in cd .. to return to the xastir directory.
16. now we start the compile and install of Xastir.
17. type in ./bootstrap.sh on the command line
18. when this finishes, type in ./configure on the command line
19. when this finishes, type in make on the command line
20. when make finishes, we are ready for the final install.
21. type in su on the command line, enter the root password when it asks
for it.
22. type in make install-strip on the command line
22. when make install finishes, type in chmod 4555 /usr/local/bin/xastir
on the command line
23. type in exit on the command line to exit su
24. Xastir is now installed and ready for its first run.
25 type in xastir & on the command line to start the program
After you have set up the Xastir configuration you now have a basic
install of Xastir that can be updated at any time by going to the xastir
directory and typing in cvs update. Then you would just repeat steps 18
to 23.
More information about the Xastir
mailing list