-
Notifications
You must be signed in to change notification settings - Fork 65
BuildLinuxMintPROJ8
Prev (Ubuntu version 22.04) | Home | Manual | Index | (Fedora 33) 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 for Linux Mint 20.1. The information on this page was contributed by anesthesia. It can be used to build current QMS development versions.
Basic information about the compilation of QMapShack for Linux Mint can be found here. This page describes only the changes required when using PROJ 8.
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.
- Part of a German description of the installation procedure is a template for a shell script which can be used to run all steps.
-
Install dependent packages
sudo apt install sqlite3 libsqlite3-dev libtiff5-dev libcurl4-gnutls-dev
-
Install PROJ 8
- Download the current release
- Follow the CMake installation rules
-
Download the current release
-
Run
./configure --prefix=/usr make
-
If
checkinstall
is not installed, runsudo apt install checkinstall
-
Install GDAL into the system
sudo checkinstall
Remark: GDAL version 3.x depends on PROJ (difference to GDAL 2.x!). Therefore, the installation of GDAL must take place after the installation of PROJ.
-
Download the current release
-
Run
cmake . (ignore possible warning about missing Qt5Zlib_DIR) make sudo make install
-
Change the
ccmake
step described in "Download and install QMS" toccmake ../QMapShack -DCMAKE_INSTALL_PREFIX=/usr
-
Leave all other steps unchanged and follow them.
Prev (Ubuntu version 22.04) | Home | Manual | Index | Top | (Fedora 33) Next