[Qgis-developer] build error

Borys Jurgiel lists at borysjurgiel.pl
Mon Jan 30 12:24:15 EST 2012


Dnia poniedziałek, 30 stycznia 2012 o 15:52:21 Jürgen E. Fischer napisał(a):
> Hi Borys,
> 
> On Mon, 30. Jan 2012 at 15:47:04 +0100, Borys Jurgiel wrote:
> > /home/borys/sources/Quantum-GIS/build/python/core/sipcorepart0.cpp:7:24:
> > fatal error: sipAPIcore.h: No such file or directory
> 
> Does sip crash?

Seems so! During the first compilation after cleaning, 
the python_module_qgis_analysis seems to go smooth:

[ 92%] Generating analysis/sipanalysispart0.cpp, analysis/sipanalysispart1.cpp, analysis/sipanalysispart2.cpp, analysis/sipanalysispart3.cpp
sip: Deprecation warning: /home/borys/sources/Quantum-GIS/python/analysis/analysis.sip:1: %Module version number should be specified using the 'version' argument
sip: Deprecation warning: /home/borys/sources/Quantum-GIS/python/core/core.sip:1: %Module version number should be specified using the 'version' argument
Scanning dependencies of target python_module_qgis_analysis
[ 92%] Building CXX object python/CMakeFiles/python_module_qgis_analysis.dir/analysis/sipanalysispart0.cpp.o                                                     
[ 92%] Building CXX object python/CMakeFiles/python_module_qgis_analysis.dir/analysis/sipanalysispart1.cpp.o                                                     
[ 92%] Building CXX object python/CMakeFiles/python_module_qgis_analysis.dir/analysis/sipanalysispart2.cpp.o                                                     
[ 92%] Building CXX object python/CMakeFiles/python_module_qgis_analysis.dir/analysis/sipanalysispart3.cpp.o                                                     
Linking CXX shared library ../output/python/qgis/analysis.so                                                                                                     
[ 92%] Built target python_module_qgis_analysis

but then it breaks in qgis.core with this segfault:

[ 92%] Generating core/sipcorepart0.cpp, core/sipcorepart1.cpp, core/sipcorepart2.cpp, core/sipcorepart3.cpp
sip: Deprecation warning: /home/borys/sources/Quantum-GIS/python/core/core.sip:1: %Module version number should be specified using the 'version' argument
Segmentation fault
make[2]: *** [python/core/sipcorepart0.cpp] Error 139
make[1]: *** [python/CMakeFiles/python_module_qgis_core.dir/all] Error 2
make: *** [all] Error 2

In next attempts, it just can't find that file:

[ 92%] Built target python_module_qgis_analysis
Scanning dependencies of target python_module_qgis_core
[ 92%] Building CXX object python/CMakeFiles/python_module_qgis_core.dir/core/sipcorepart0.cpp.o                                                                 
/home/borys/sources/Quantum-GIS/build/python/core/sipcorepart0.cpp:7:24: fatal error: sipAPIcore.h: Nie ma takiego pliku ani katalogu                            
compilation terminated.


More information about the Qgis-developer mailing list