[QGIS-Developer] Build problems using install instructions
Tony Bazeley
tonyb at tonyb.id.au
Thu Apr 25 02:39:03 PDT 2024
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[1]
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
--------
[1] https://github.com/qgis/QGIS/blob/master/INSTALL.md
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20240425/ce6da28d/attachment.htm>
More information about the QGIS-Developer
mailing list