<div dir="ltr">And regarding spatialite .. <div>take a look if the -dev package of spatialite is installed .. </div><div>If you want to compile yourself you always need the -dev packages</div><div>regards</div><div>Werner</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 29, 2023 at 12:10 PM Werner Macho <<a href="mailto:werner.macho@gmail.com">werner.macho@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi!<div>According to the error message you provided you are missing:</div><div>Could not find a package configuration file provided by "Qt5SerialPort"<br>   with any of the following names:<br></div><div><br></div><div>Try to install the package "libqt5serialport5-dev" (depending on which distribution you are - I can only see it is a linux system)</div><div><br></div><div>regards</div><div>Werner</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 29, 2023 at 12:05 PM Raivo Rebane via QGIS-User <<a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I want to install QGIS package from source, but got foolowing errors :<br>
<br>
CMake Error at cmake/FindSpatiaLite.cmake:20 (add_library):<br>
   add_library cannot create ALIAS target "spatialite::spatialite" because<br>
   target "PkgConfig::PC_SPATIALITE" is imported but not globally visible.<br>
Call Stack (most recent call first):<br>
   CMakeLists.txt:405 (find_package)<br>
<br>
<br>
-- Qt WebKit support enabled<br>
-- Using embedded laz-perf<br>
-- Found ZSTD: /usr/lib/x86_64-linux-gnu/libzstd.so<br>
-- Found PDAL: pdal_base;pdal_util (2.2.0)<br>
-- Found Draco: /usr/local/lib/libdraco.a (1.5.6)<br>
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 <br>
(find_package):<br>
   Could not find a package configuration file provided by "Qt5SerialPort"<br>
   with any of the following names:<br>
<br>
     Qt5SerialPortConfig.cmake<br>
     qt5serialport-config.cmake<br>
<br>
   Add the installation prefix of "Qt5SerialPort" to CMAKE_PREFIX_PATH <br>
or set<br>
   "Qt5SerialPort_DIR" to a directory containing one of the above files.  If<br>
   "Qt5SerialPort" provides a separate development package or SDK, be <br>
sure it<br>
   has been installed.<br>
<br>
I tried different way of cmake :<br>
<br>
raivo@Hydra:~/QGIS/build-master$ cmake <br>
-DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so <br>
-DSPATIALITE_INCLUDE_DIR=/usr/include/ ..<br>
and<br>
<br>
raivo@Hydra:~/QGIS/build-master$ cmake <br>
-DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so <br>
-DSPATIALITE_INCLUDE_DIR=/usr/include/ <br>
-DPC_SPATIALITE=/usr/lib/x86_64-linux-gnu/pkgconfig/spatialite.pc ..<br>
<br>
but in any cases got previous errors.<br>
<br>
What is wrong ?<br>
<br>
Regards,<br>
<br>
Raivo<br>
<br>
<br>
_______________________________________________<br>
QGIS-User mailing list<br>
<a href="mailto:QGIS-User@lists.osgeo.org" target="_blank">QGIS-User@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div>
</blockquote></div>