[Qgis-developer] compile error

Jorge Tornero - Listas jtorlistas at gmail.com
Tue Jul 22 02:26:57 PDT 2014


Hello all,

Same happened to me some minutes ago. A second run of make just make it 
compile (I dindn't do nothing, don't ask :) ). I'm on Kubuntu 14.04.

Anyway, I get an error (posted yesterday) when running the compiled source:


Couldn't load PyQGIS.
Python support will be disabled.


Traceback (most recent call last):
   File "", line 1, in
   File 
"/home/antares/dev/QGIS/build/output/python/qgis/gui/__init__.py", line 
1, in
     from qgis._gui import *
ImportError: dynamic module does not define init function (init_gui)


Python version:
2.7.6 (default, Mar 22 2014, 23:03:41)
[GCC 4.8.2]

QGIS version:
2.5.0-Master 'Master', 8f0b898

Don't have any clue about that. I've found and issue in the hub:

https://hub.qgis.org/issues/10218

But it doesn't say much about how to solve (just fixed problem)

Maybe it is matter of a ticket?

Best regards



El 22/07/14 11:02, Ziegler Stefan escribió:
> Hi
>
> I get an compile error on master:
>
> [ 98%] Building CXX object python/CMakeFiles/python_module_qgis__analysis.dir/analysis/sip_analysispart3.cpp.o
> Linking CXX shared library ../output/python/qgis/_analysis.so
> [ 98%] Built target python_module_qgis__analysis
> [ 98%] Built target pyanalysis
> [ 98%] Generating core/sip_corepart0.cpp, core/sip_corepart1.cpp, core/sip_corepart2.cpp, core/sip_corepart3.cpp
>
> Scanning dependencies of target python_module_qgis__core
> [ 98%] Building CXX object python/CMakeFiles/python_module_qgis__core.dir/core/sip_corepart0.cpp.o
> [ 98%] Building CXX object python/CMakeFiles/python_module_qgis__core.dir/core/sip_corepart1.cpp.o
> [ 98%] Building CXX object python/CMakeFiles/python_module_qgis__core.dir/core/sip_corepart2.cpp.o
> [ 98%] Building CXX object python/CMakeFiles/python_module_qgis__core.dir/core/sip_corepart3.cpp.o
> Linking CXX shared library ../output/python/qgis/_core.so
> [ 98%] Built target python_module_qgis__core
> [ 98%] Built target pycore
> [ 98%] Generating gui/sip_guipart0.cpp, gui/sip_guipart1.cpp, gui/sip_guipart2.cpp, gui/sip_guipart3.cpp
>
> sip: Unable to find file "Qsci/qscimod4.sip"
> make[2]: *** [python/gui/sip_guipart0.cpp] Error 1
> make[1]: *** [python/CMakeFiles/python_module_qgis__gui.dir/all] Error 2
> make: *** [all] Error 2
>
> I'm on Ubuntu 14.04.
>
> Regards
> Stefan
>
> Freundliche Grüsse
> Stefan Ziegler
> Kantonsgeometer
>
> Amt für Geoinformation
> Amtliche Vermessung
> Rötistrasse 4
> 4500 Solothurn
>
> Telefon +41 32 627 75 96
> Telefax +41 32 627 75 98
> stefan.ziegler at bd.so.ch
> http://www.so.ch
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer



More information about the Qgis-developer mailing list