I use two scripts, one for QMS and one for Routino. The reason is that I need QMS more often for translating.
The changes for Makefile.conf are done through the script: ------------------------------------------------------------------------ #!/bin/bash cd (working directory e.g. /home/Temp) echo echo "Routino compilieren!" echo svn checkout http://routino.org/svn/branches/libroutino/ routino cd routino echo sed -i 's/\/usr\/local/\/usr/g' Makefile.conf make echo echo "Routino installieren!" echo sudo make install echo echo "Routino Verzeichnis löschen und beenden, Entertaste drücken!" read pause cd .. rm -R -f ./routino exit ------------------------------------------------------------------------ Am 24.08.2015 um 21:02 schrieb Karl Karsten: > Hello, > > I have documented the steps I made to install QMapShack 1.3.0 in a > Ubuntu Gnome 14.04.03. > As I am a newbie with QMapShack maybe it will help other newbies to come > quickly to QMapShack. > > Regards > Karl ... > > --- > > Script to install QMapShack 1.3.0 on a Ubuntu Gnome 14.04.03 > installed and verified in a VMware virtual machine using > ubuntu-gnome-14.04.3-desktop-amd64.iso > > 1. Create a directory for all installation files (ex. GPS) >> cd >> mkdir GPS >> cd GPS > > > 2. Install all needed packages for QMapShack >> sudo apt-get install build-essential subversion mercurial qt5-default > qttools5-dev qttools5-dev-tools libqt5webkit5-dev qtscript5-dev > libgdal-dev libproj-dev libghc-bzlib-dev > > > 3. Build and install cmake (manual installation, because QM needs > version > 3.x) > Download cmake source files archive from http://www.cmake.org/download/ > (ex. cmake-3.3.1.tar.gz) > > Extract zipped tar archive >> tar xzvf cmake-3.3.1.tar.gz > > Change to download directory >> cd cmake-3.3.1 > > Build and install >> ./configure >> make >> sudo make install > cd .. > > Check cmake version for version > 3.x >> cmake --version > ==> cmake version 3.3.1 > ==> CMake suite maintained and supported by Kitware (kitware.com/cmake). > > > 4. Build and install Routino > Download Routino source files >> svn checkout http://routino.org/svn/branches/libroutino/ routino >> cd routino > Change line 48 of the file 'Makefile.conf' to 'prefix=/usr' using a > editor (ex. gedit) >> gedit Makefile.conf >> make >> sudo make install >> sudo cp src/routino.h /usr/include >> sudo cp src/libroutino.so /usr/lib >> cd .. > > > 5. Build and install QMapshack > Download QMapShack source files >> hg clone https://bitbucket.org/maproom/qmapshack QMapShack > >> mkdir build_QMapShack >> cd build_QMapShack >> cmake ../QMapShack >> make >> sudo make install > > And finally start QMapShack ... >> qmapshack > > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Qlandkartegt-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users > ------------------------------------------------------------------------------ _______________________________________________ Qlandkartegt-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
