[QGIS-Developer] Build problems using install instructions

Tony Bazeley tonyb at tonyb.id.au
Fri Apr 26 02:51:11 PDT 2024


Thanks Julien,

I've  installed all the packages listed, including pyqt-dev

dpkg -l | grep pyqt5-dev 
ii  *pyqt5-dev* 
                                          5.15.10+dfsg-0xneon+22.04+jammy+release+build26              all 
         Development files for PyQt5 
ii  *pyqt5-dev*-tools 
                                    5.15.10+dfsg-0xneon+22.04+jammy+release+build26 
             amd64        Development tools for PyQt5




On Thursday 25 April 2024 10:09:19 PM ACST Julien Cabieces via QGIS-Developer wrote:
> 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-depend
> encies
> > 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/geo
> > referencing/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/geor
> > eferencing/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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20240426/73d11d20/attachment.htm>


More information about the QGIS-Developer mailing list