[Qgis-developer] Build failure following qt creator setup instructions

Andrea Aime andrea.aime at geo-solutions.it
Sun Jul 3 05:18:02 PDT 2016


Hi,
I'm trying to setup qgis source code in QT creator on a freshly installed
Linux Mint 18 (released a few days ago).
The instructions seem to mostly work, except once building I get into this
error:

Generating pyqgis api file
[ 82%] Built target qsci-api
[ 82%] Built target pyfuture
[ 82%] Built target zzz-GdalTools-3-depend
[ 82%] Built target zzz-GdalTools-1-depend
[ 82%] Built target pyqtcompat
[ 82%] Built target pygui
[ 82%] Built target pycore
[ 82%] Generating ui_widgetSieve.py
Traceback (most recent call last):
  File "/home/aaime/devel/qgis/scripts/pyuic-wrapper.py", line 26, in
<module>
    import qgis.PyQt.uic.pyuic
ImportError: No module named PyQt.uic.pyuic
python/plugins/GdalTools/tools/CMakeFiles/zzz-GdalTools-2-depend.dir/build.make:117:
recipe for target 'python/plugins/GdalTools/tools/ui_widgetSieve.py' failed
CMakeFiles/Makefile2:5637: recipe for target
'python/plugins/GdalTools/tools/CMakeFiles/zzz-GdalTools-2-depend.dir/all'
failed
Makefile:160: recipe for target 'all' failed
make[2]: *** [python/plugins/GdalTools/tools/ui_widgetSieve.py] Error 1
make[1]: ***
[python/plugins/GdalTools/tools/CMakeFiles/zzz-GdalTools-2-depend.dir/all]
Error 2
make: *** [all] Error 2
13:54:45: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project qgis2.15.0 (kit: Desktop)
When executing step "Make"
13:54:45: Elapsed time: 00:15.

I've installed the required dependencies following instructions in this
line of the INSTALL guide:

https://github.com/qgis/QGIS/blob/master/INSTALL#L190

and I've verified that pyuci4 and associated libraries are installed, e..g:

> sudo apt-get install pyqt4-dev-tools  pyqt4.qsci-dev
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
pyqt4-dev-tools is already the newest version (4.11.4+dfsg-1build4).
pyqt4.qsci-dev is already the newest version (2.9.1+dfsg-4build1).
0 aggiornati, 0 installati, 0 da rimuovere e 14 non aggiornati.

Any clue as to why the build is failing?

I've also tried following the Ubuntu instructions inj
https://github.com/qgis/QGIS/blob/master/INSTALL,
in that case ccmake fails to find qwtpolar, which does not seem to be a
package included in Mint 18
(I've found libqwt5-qt4 and installed it, but it did not help)... does one
has to hand build this package
in order to build qgis?

Cheers
Andrea


-- 
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

-------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160703/5e0e57b6/attachment-0001.html>


More information about the Qgis-developer mailing list