-
Notifications
You must be signed in to change notification settings - Fork 65
BuildFedoraPROJ8
Prev (Linux Mint 20.1) | Home | Manual | Index | (OSX) Next
Table of contents
QMapShack versions beyond version 1.15.2 will use PROJ version 8. This requires some changes in the QMS build procedure. This page is an early release of the description of these changes. It can be used to build current QMS development versions.
Preliminary remark: The described installation procedure is based on an X11 display server. Switching from a Wayland display server (the default on Fedora 33) can be done during the login process (lower right gear on the login screen).
Warnings and hints:
- GDAL version 3.x now depends on PROJ. Therefore, don't change the described installation sequence of packages.
- If there are older versions of the used libraries on your system, remove them completely first.
- Don't change the advised directory settings.
-
Run
sudo dnf upgrade sudo dnf groupinstall "Development Tools" "Development Libraries" sudo dnf install qt5-linguist qt5-qttools-static qt5-qtwebengine-devel libjpeg-turbo-devel alglib-devel gdal-devel libtiff-devel libsq3-devel qt-creator mkdir ~/GPS
-
Assume, that the current PROJ release is 8.0.0 (otherwise change the version number in the following lines!)
-
Download
cd ~/GPS wget https://download.osgeo.org/proj/proj-8.0.0.tar.gz tar xzvf proj-8.0.0.tar.gz cd proj-8.0.0 mkdir build cd build
-
Build and install
ccmake .. -DCMAKE_INSTALL_PREFIX=/usr
If the
ccmake
run stops, pressc
(maybe, several times) and theng
.cmake --build . -j2 sudo cmake --build . --target install
Note: The parameter j2
defines the number of simultaneously running jobs when building the code. You can increase this parameter to the value of the optimal compilation speed depending on your CPU (-j3, -j4
, ...).
Note: Please be patient. The building process will take some time. Depending on your hardware settings it may take 1-2 hours.
-
Download
cd ~/GPS wget https://github.com/OSGeo/gdal/releases/download/v3.2.2/gdal-3.2.2.tar.gz tar xvzf gdal-3.2.2.tar.gz cd gdal-3.2.2
-
Build and install
./configure --prefix=/usr make -j2 sudo make install
-
Assume, that the current QUAZIP release is 1.1 (otherwise change the version number in the following lines!)
-
Download
cd ~/GPS wget https://github.com/stachenov/quazip/archive/refs/tags/v1.1.tar.gz tar xvzf v1.1.tar.gz cd quazip-1.1 mkdir build cd build
-
Build and install
ccmake .. -DCMAKE_INSTALL_PREFIX=/usr
If the
ccmake
run stops, pressc
(maybe, several times) and theng
.cmake --build . -j2 sudo cmake --build . --target install
-
Download
cd ~/GPS svn co http://routino.org/svn/trunk routino cd routino
-
Edit
Makefile.conf
:- Line 48: set to
prefix=/usr
- Line 51: set to `libdir=$(prefix)/lib64
- Line 48: set to
-
Build and install
make -j2 sudo make install
-
Download
cd ~/GPS git clone https://github.com/Maproom/qmapshack.git QMapShack mkdir build_QMapShack cd build_QMapShack
-
Build and install
ccmake ../QMapShack -DCMAKE_INSTALL_PREFIX=/usr
If the
ccmake
run stops, pressc
(maybe, several times) and theng
-
Run
make -j2 sudo make install
-
Run
qmapshack
Prev (Linux Mint 20.1) | Home | Manual | Index | Top | (OSX) Next