[Qgis-user] Problem insatalling from source
Johannes Kröger (WhereGroup)
johannes.kroeger at wheregroup.com
Wed Nov 29 03:39:01 PST 2023
What guide are you following and what OS (+version) are you using?
On 29.11.23 12:24, Raivo Rebane via QGIS-User wrote:
>
> I have installed following :
>
> 2064 sudo apt-get install libspatialite-dev
> 2087 sudo apt install libqt5serialport5-dev
>
> but same error ocured
>
> Regards,
> Raivo
>
> On 29.11.23 13:14, Werner Macho wrote:
>> And regarding spatialite ..
>> take a look if the -dev package of spatialite is installed ..
>> If you want to compile yourself you always need the -dev packages
>> regards
>> Werner
>>
>> On Wed, Nov 29, 2023 at 12:10 PM Werner Macho
>> <werner.macho at gmail.com> wrote:
>>
>> Hi!
>> According to the error message you provided you are missing:
>> Could not find a package configuration file provided by
>> "Qt5SerialPort"
>> with any of the following names:
>>
>> Try to install the package "libqt5serialport5-dev" (depending on
>> which distribution you are - I can only see it is a linux system)
>>
>> regards
>> Werner
>>
>> On Wed, Nov 29, 2023 at 12:05 PM Raivo Rebane via QGIS-User
>> <qgis-user at lists.osgeo.org> wrote:
>>
>> Hi,
>>
>> I want to install QGIS package from source, but got foolowing
>> errors :
>>
>> CMake Error at cmake/FindSpatiaLite.cmake:20 (add_library):
>> add_library cannot create ALIAS target
>> "spatialite::spatialite" because
>> target "PkgConfig::PC_SPATIALITE" is imported but not
>> globally visible.
>> Call Stack (most recent call first):
>> CMakeLists.txt:405 (find_package)
>>
>>
>> -- Qt WebKit support enabled
>> -- Using embedded laz-perf
>> -- Found ZSTD: /usr/lib/x86_64-linux-gnu/libzstd.so
>> -- Found PDAL: pdal_base;pdal_util (2.2.0)
>> -- Found Draco: /usr/local/lib/libdraco.a (1.5.6)
>> CMake Error at
>> /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28
>> (find_package):
>> Could not find a package configuration file provided by
>> "Qt5SerialPort"
>> with any of the following names:
>>
>> Qt5SerialPortConfig.cmake
>> qt5serialport-config.cmake
>>
>> Add the installation prefix of "Qt5SerialPort" to
>> CMAKE_PREFIX_PATH
>> or set
>> "Qt5SerialPort_DIR" to a directory containing one of the
>> above files. If
>> "Qt5SerialPort" provides a separate development package or
>> SDK, be
>> sure it
>> has been installed.
>>
>> I tried different way of cmake :
>>
>> raivo at Hydra:~/QGIS/build-master$ cmake
>> -DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so
>> -DSPATIALITE_INCLUDE_DIR=/usr/include/ ..
>> and
>>
>> raivo at Hydra:~/QGIS/build-master$ cmake
>> -DSPATIALITE_LIBRARY=/usr/lib/x86_64-linux-gnu/libspatialite.so
>> -DSPATIALITE_INCLUDE_DIR=/usr/include/
>> -DPC_SPATIALITE=/usr/lib/x86_64-linux-gnu/pkgconfig/spatialite.pc
>> ..
>>
>> but in any cases got previous errors.
>>
>> What is wrong ?
>>
>> Regards,
>>
>> Raivo
>>
>>
>> _______________________________________________
>> QGIS-User mailing list
>> QGIS-User at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>
> _______________________________________________
> QGIS-User mailing list
> QGIS-User at lists.osgeo.org
> List info:https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20231129/cb1f7414/attachment.htm>
More information about the QGIS-User
mailing list