[QGIS-Developer] Build problems using install instructions
Julien Cabieces
julien.cabieces at oslandia.com
Thu Apr 25 05:39:19 PDT 2024
Hi,
You probably need to install the package which provide those files, it's
pyqt5-dev on Debian, so it should be the same on Ubuntu.
It's on the list of packages to be installed [0], did you install them ?
You can check if it's properly installed with the following command:
dpkg -l | grep pyqt5-dev
Regards,
Julien
[0] https://github.com/qgis/QGIS/blob/master/INSTALL.md#33-install-build-dependencies
> Hi,
>
> I'm not an experienced builder, and have come to this point after finding problems with QGIS using KDE Neon - library problems with the
> binary and age problems with the flatpack version.
>
> I'm running the latest KDE Neon version which runs on Ubuntu 22.04
>
>
>
> I've managed a successful QGIS build parroting instructions from https://github.com/qgis/QGIS/blob/master/INSTALL.md
>
> However this time around I've errors which I don't know how to resolve:
>
> sip-build: /home/tonbaz/dev/cpp/QGIS/build-master/python/core/core.sip: line 101: column 9: 'QtXml/QtXmlmod.sip' could not be found
> /home/tonbaz/dev/cpp/QGIS/build-master/python/core/core.sip: line 102: column 9: 'QtNetwork/QtNetworkmod.sip' could not be found
> /home/tonbaz/dev/cpp/QGIS/build-master/python/core/core.sip: line 103: column 9: 'QtSql/QtSqlmod.sip' could not be found
> /home/tonbaz/dev/cpp/QGIS/build-master/python/core/core.sip: line 105: column 9: 'QtPrintSupport/QtPrintSupportmod.sip' could not be
> found
> /home/tonbaz/dev/cpp/QGIS/build-master/python/core/core.sip: line 106: column 9: 'QtWidgets/QtWidgetsmod.sip' could not be found
> /home/tonbaz/dev/cpp/QGIS/build-master/python/core/core.sip: line 107: column 9: 'QtPositioning/QtPositioningmod.sip' could not be found
> /home/tonbaz/dev/cpp/QGIS/build-master/python/core/core.sip: line 110: column 9: 'QtSerialPort/QtSerialPortmod.sip' could not be found
> /home/tonbaz/dev/cpp/QGIS/build-master/python/3d/3d.sip: line 8: column 9: 'QtCore/QtCoremod.sip' could not be found
> /home/tonbaz/dev/cpp/QGIS/build-master/python/3d/3d.sip: line 9: column 9: 'QtGui/QtGuimod.sip' could not be found
> /home/tonbaz/dev/cpp/QGIS/build-master/python/3d/3d.sip: line 10: column 9: 'QtXml/QtXmlmod.sip' could not be found
> /home/tonbaz/dev/cpp/QGIS/build-master/python/analysis/auto_generated/georeferencing/qgsgcptransformer.sip: line 59: 'throw' is
> deprecated and will be removed in SIP v7.0.0
> /home/tonbaz/dev/cpp/QGIS/build-master/python/analysis/auto_generated/georeferencing/qgsgcptransformer.sip: line 100: 'throw' is
> deprecated and will be removed in SIP v7.0.0
> make[2]: *** [python/CMakeFiles/python_module_qgis__3d.dir/build.make:904: python/3d/build/_3d/sip_3dpart0.cpp] Error 1
> make[1]: *** [CMakeFiles/Makefile2:12031: python/CMakeFiles/python_module_qgis__3d.dir/all] Error 2
> sip-build: /home/tonbaz/dev/cpp/QGIS/build-master/python/analysis/analysis.sip: line 6: column 9: 'QtCore/QtCoremod.sip' could not be found
> /home/tonbaz/dev/cpp/QGIS/build-master/python/analysis/analysis.sip: line 7: column 9: 'QtGui/QtGuimod.sip' could not be found
> /home/tonbaz/dev/cpp/QGIS/build-master/python/analysis/analysis.sip: line 8: column 9: 'QtXml/QtXmlmod.sip' could not be found
> /home/tonbaz/dev/cpp/QGIS/build-master/python/core/core.sip: line 101: column 9: 'QtXml/QtXmlmod.sip' could not be found
> /home/tonbaz/dev/cpp/QGIS/build-master/python/core/core.sip: line 102: column 9: 'QtNetwork/QtNetworkmod.sip' could not be found
> /home/tonbaz/dev/cpp/QGIS/build-master/python/core/core.sip: line 103: column 9: 'QtSql/QtSqlmod.sip' could not be found
> /home/tonbaz/dev/cpp/QGIS/build-master/python/core/core.sip: line 105: column 9: 'QtPrintSupport/QtPrintSupportmod.sip' could not be
> found
> /home/tonbaz/dev/cpp/QGIS/build-master/python/core/core.sip: line 106: column 9: 'QtWidgets/QtWidgetsmod.sip' could not be found
> /home/tonbaz/dev/cpp/QGIS/build-master/python/core/core.sip: line 107: column 9: 'QtPositioning/QtPositioningmod.sip' could not be found
> /home/tonbaz/dev/cpp/QGIS/build-master/python/core/core.sip: line 110: column 9: 'QtSerialPort/QtSerialPortmod.sip' could not be found
> make[2]: *** [python/CMakeFiles/python_module_qgis__analysis.dir/build.make:915: python/analysis/build/_analysis/sip_analysispart0.cpp]
> Error 1
> make[1]: *** [CMakeFiles/Makefile2:12084: python/CMakeFiles/python_module_qgis__analysis.dir/all] Error 2
> make: *** [Makefile:166: all] Error 2
>
> Python sip is installed:
>
> Installed python3-sip-4.19.25+dfsg-3build1.amd64 (manual:ubuntu-jammy-universe)
> Installed python3-sipbuild-6.8.3-0xneon+22.04+jammy+release+build12.amd64 (auto:user_jammy-jammy-main)
>
> Any help would be much appreciated
>
> Cheers
>
> Tony
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
--
Julien Cabieces
Senior Developer at Oslandia
julien.cabieces at oslandia.com
More information about the QGIS-Developer
mailing list