[Xastir] Mepis install with a few typos corrected

gdw gdw at kc4pl.com
Sun Feb 7 09:45:37 EST 2010


Since it looks like the get maptools script is no longer good, I would 
just leave it out and put in the other files to get from the 
repositories.  I will try and do another update  to my old howto in the 
near future. (I am under the weather today).

Gale
KC4PL

On 2/6/2010 11:15 PM, Lee Bengston wrote:
> On 2/6/10, gdw<gdw at kc4pl.com>  wrote:
>    
>> 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.
>>
>>      
> I recommend doing the following for a quick and dirty install in Mepis
> 8, which is a modified version of the steps above:
>
> Install the packages below either via the Synaptic package manager or
> or apt-get install in a terminal window.
>
> 1. build-essential
> 2. cvs
> 3. automake (autoconf is auto-installed as a dependency)
> 4. xorg-dev
> 5. libmotif-dev
> 6. graphicsmagick (may find this already installed)
> 7. gv
> 8. libxp-dev (x11proto-print-dev is installed as a dependency)
> 9. libpcre3-dev
> 10. libdb4.6-dev
> 11. libgraphicsmagick1-dev
>
> The above will provide the essentials plus raster map support via
> graphicsmagick. Given shapelib is already provided internally,
> shapfiles will also be supported.
>
> Note: if you used apt-get install, make sure to type exit in the
> terminal to get out of root mode before continuing on with the steps
> below that are done with a terminal.
>
> 12. If not already open, open a terminal window for the following steps.
>   (a terminal window opens automatically in your home directory, which
> is where you want to be)
> 13. 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
> 14. Control-O saves the file, and Control-X exits if nano is the editor
> 15. Enter the following commands on the command line:
>        touch .cvspass  (again note the . in the file name)
>        mkdir src
>        cd src
> 16. Now get the latest source code from the cvs repository
> 17. 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
> 18. Type in the following to actually download the code
>        cvs -d:pserver:anonymous at xastir.cvs.sourceforge.net/cvsroot/xastir
> co xastir
> 19. Type cd xastir in order to get into the xastir directory
> 20. Type ./bootstrap.sh
> Now it's time to build XASTIR
> 21. Type the following in the terminal window:
>       mkdir build, then type cd build
> 22. Next type the following: ../configure  (note it starts with two dots)
> 23. After configure finishes, type make
> 24  After compiling finishes, type su and enter your root password
> 25. Then type make install
> 26. Then type exit to exit root mode.
> 27. To start XASTIR, type xastir&  in a terminal window
>
> I can merge the above into the wiki page, but I'll wait for possible
> comments - just in case I missed something.
>
> Lee - K5DAT
> Murphy, TX
> _______________________________________________
> Xastir mailing list
> Xastir at lists.xastir.org
> http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
>    
>
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.733 / Virus Database: 271.1.1/2673 - Release Date: 02/06/10 14:35:00
>
>    




More information about the Xastir mailing list