[Qgis-developer] Trouble compiling qgis-server

Andrea Peri aperi2007 at gmail.com
Tue Apr 17 03:48:55 EDT 2012


>>*Which version of SIP are you running?  Looks like it doesn't support the -o*>>*switch introduced in 67c77e553.*>>**>>*Jürgen*>
>
>Hi,
>
>testing with:
>
>>*python*>>*import sip*>>*print '%x' % sip.SIP_VERSION*>
>
>I see the version is:
>
>40903

Hi,

I update the SIP version to the last 4.13.2.

Now the SIP error was gone, but another error there is . :(

[ 83%] Built target compile_python_files
[ 83%] Generating analysis/sipanalysispart0.cpp,
analysis/sipanalysispart1.cpp, analysis/sipanalysispart2.cpp,
analysis/sipanalysispart3.cpp

sip: Deprecation warning:
/home/archivio/tomcat/software/qgis/Quantum-GIS/python/analysis/analysis.sip:1:
%Module version number should be specified using the 'version' argument
sip: Deprecation warning: /usr/share/sip/PyQt4/QtCore/QtCoremod.sip:33:
%Module version number should be specified using the 'version' argument
....
sip: Deprecation warning:
/home/archivio/tomcat/software/qgis/Quantum-GIS/python/core/qgis.sip:114:
Annotation is invalid
Scanning dependencies of target python_module_qgis_analysis
...
Scanning dependencies of target python_module_qgis_core
[ 83%] Building CXX object
python/CMakeFiles/python_module_qgis_core.dir/core/sipcorepart0.cpp.o
/home/archivio/tomcat/software/qgis/Quantum-GIS/python/core/conversions.sip:
In function âint convertTo_QMap_3800_0600QMap_1800_0100QVariant(PyObject*,
void**, int*, PyObject*)â:
/home/archivio/tomcat/software/qgis/Quantum-GIS/python/core/conversions.sip:583:
error: âsipClass_QVariantâ was not declared in this scope
/home/archivio/tomcat/software/qgis/Quantum-GIS/python/core/conversions.sip:610:
error: âsipClass_QVariantâ was not declared in this scope
make[2]: ***
[python/CMakeFiles/python_module_qgis_core.dir/core/sipcorepart0.cpp.o]
Error 1
make[1]: *** [python/CMakeFiles/python_module_qgis_core.dir/all] Error 2
make: *** [all] Error 2


Perhaps qgis don't like the last version of SIP ?

-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20120417/5793ab2f/attachment.html


More information about the Qgis-developer mailing list