[Qgis-user] Problem compiling Qgis 2.4 on SuSE 12.3

Lars Forseth lars.forseth at ntebb.no
Tue Jul 29 12:21:25 PDT 2014


Hi!
Following troubles starting Qgis 2.4 on Suse 12.3 after the 21.07
uppgrades on GEOS server for SUSE, I'm trying to compile Qgis.

But I get error on SIP python library at 89% finnished: See below!

"Scanning dependencies of target pyanalysis
Byte-compiling staged resource...
[ 89%] Built target pyanalysis
Scanning dependencies of target python_module_qgis__core
[ 89%] Building CXX object
python/CMakeFiles/python_module_qgis__core.dir/core/sip_corepart0.cpp.o
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:
In function ‘void assign_QList_0100QGeoSatelliteInfo(void*, Py_ssize_t,
const void*)’:
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11401:28:
error: ‘QGeoSatelliteInfo’ was not declared in this scope
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11401:45:
error: template argument 1 is invalid
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11401:47:
error: expected ‘>’ before ‘*’ token
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11401:47:
error: expected ‘(’ before ‘*’ token
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11401:48:
error: expected primary-expression before ‘>’ token
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11401:67:
error: ‘void*’ is not a pointer-to-object type
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11401:118:
error: type/value mismatch at argument 1 in template parameter list for
‘template<class T> class QList’
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11401:118:
error: expected a type, got ‘QGeoSatelliteInfo’
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11401:120:
error: expected ‘>’ before ‘*’ token
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11401:120:
error: expected ‘(’ before ‘*’ token
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11401:121:
error: expected primary-expression before ‘>’ token
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11401:130:
error: expected ‘)’ before ‘;’ token
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11401:130:
error: expected ‘)’ before ‘;’ token
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:
In function ‘void* array_QList_0100QGeoSatelliteInfo(Py_ssize_t)’:
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11408:22:
error: ‘QGeoSatelliteInfo’ was not declared in this scope
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11408:39:
error: template argument 1 is invalid
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:
In function ‘void* copy_QList_0100QGeoSatelliteInfo(const void*,
Py_ssize_t)’:
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11415:22:
error: ‘QGeoSatelliteInfo’ was not declared in this scope
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11415:39:
error: template argument 1 is invalid
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11415:87:
error: type/value mismatch at argument 1 in template parameter list for
‘template<class T> class QList’
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11415:87:
error: expected a type, got ‘QGeoSatelliteInfo’
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11415:89:
error: expected ‘>’ before ‘*’ token
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11415:89:
error: expected ‘(’ before ‘*’ token
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11415:90:
error: expected primary-expression before ‘>’ token
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11415:109:
error: ‘const void*’ is not a pointer-to-object type
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:
In function ‘void release_QList_0100QGeoSatelliteInfo(void*, int)’:
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11424:35:
error: ‘QGeoSatelliteInfo’ was not declared in this scope
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11424:52:
error: template argument 1 is invalid
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11424:54:
error: expected ‘>’ before ‘*’ token
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11424:54:
error: expected ‘(’ before ‘*’ token
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11424:55:
error: expected primary-expression before ‘>’ token
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11424:61:
error: expected ‘)’ before ‘;’ token
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:
In function ‘int convertTo_QList_0100QGeoSatelliteInfo(PyObject*,
void**, int*, PyObject*)’:
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11433:11:
error: ‘QGeoSatelliteInfo’ was not declared in this scope
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11433:28:
error: template argument 1 is invalid
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11433:42:
error: invalid type in declaration before ‘=’ token
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11433:84:
error: type/value mismatch at argument 1 in template parameter list for
‘template<class T> class QList’
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11433:84:
error: expected a type, got ‘QGeoSatelliteInfo’
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11433:86:
error: expected ‘>’ before ‘*’ token
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11433:86:
error: expected ‘(’ before ‘*’ token
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11433:88:
error: expected primary-expression before ‘>’ token
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11433:101:
error: expected ‘)’ before ‘;’ token
/usr/share/sip/PyQt4/QtCore/qlist.sip:75:56: error:
‘sipType_QGeoSatelliteInfo’ was not declared in this scope
/usr/share/sip/PyQt4/QtCore/qlist.sip:86:28: error: type/value mismatch
at argument 1 in template parameter list for ‘template<class T> class QList’
/usr/share/sip/PyQt4/QtCore/qlist.sip:86:28: error: expected a type, got
‘QGeoSatelliteInfo’
/usr/share/sip/PyQt4/QtCore/qlist.sip:86:34: error: invalid type in
declaration before ‘=’ token
/usr/share/sip/PyQt4/QtCore/qlist.sip:86:63: error: type/value mismatch
at argument 1 in template parameter list for ‘template<class T> class QList’
/usr/share/sip/PyQt4/QtCore/qlist.sip:86:63: error: expected a type, got
‘QGeoSatelliteInfo’
/usr/share/sip/PyQt4/QtCore/qlist.sip:93:28: error: ‘t’ was not declared
in this scope
/usr/share/sip/PyQt4/QtCore/qlist.sip:93:49: error: expected
type-specifier before ‘QGeoSatelliteInfo’
/usr/share/sip/PyQt4/QtCore/qlist.sip:93:49: error: expected ‘>’ before
‘QGeoSatelliteInfo’
/usr/share/sip/PyQt4/QtCore/qlist.sip:93:49: error: expected ‘(’ before
‘QGeoSatelliteInfo’
/usr/share/sip/PyQt4/QtCore/qlist.sip:93:68: error: expected
primary-expression before ‘>’ token
/usr/share/sip/PyQt4/QtCore/qlist.sip:93:92: error:
‘sipType_QGeoSatelliteInfo’ was not declared in this scope
/usr/share/sip/PyQt4/QtCore/qlist.sip:93:167: error: expected ‘)’ before
‘;’ token
/usr/share/sip/PyQt4/QtCore/qlist.sip:105:13: error: request for member
‘append’ in ‘* ql’, which is of non-class type ‘int’
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:
In function ‘PyObject* convertFrom_QList_0100QGeoSatelliteInfo(void*,
PyObject*)’:
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11492:10:
error: ‘QGeoSatelliteInfo’ was not declared in this scope
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11492:27:
error: template argument 1 is invalid
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11492:37:
error: invalid type in declaration before ‘=’ token
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11492:79:
error: type/value mismatch at argument 1 in template parameter list for
‘template<class T> class QList’
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11492:79:
error: expected a type, got ‘QGeoSatelliteInfo’
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11492:81:
error: expected ‘>’ before ‘*’ token
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11492:81:
error: expected ‘(’ before ‘*’ token
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11492:82:
error: expected primary-expression before ‘>’ token
/home/larsf/bin/qgis-2.4.0/build-master/python/core/sip_corepart0.cpp:11492:92:
error: expected ‘)’ before ‘;’ token
/usr/share/sip/PyQt4/QtCore/qlist.sip:40:33: error: request for member
‘size’ in ‘* sipCpp’, which is of non-class type ‘int’
/usr/share/sip/PyQt4/QtCore/qlist.sip:44:33: error: request for member
‘size’ in ‘* sipCpp’, which is of non-class type ‘int’
/usr/share/sip/PyQt4/QtCore/qlist.sip:46:28: error: ‘t’ was not declared
in this scope
/usr/share/sip/PyQt4/QtCore/qlist.sip:46:36: error: expected
type-specifier before ‘QGeoSatelliteInfo’
/usr/share/sip/PyQt4/QtCore/qlist.sip:46:36: error: expected ‘;’ before
‘QGeoSatelliteInfo’
/usr/share/sip/PyQt4/QtCore/qlist.sip:49:46: error:
‘sipType_QGeoSatelliteInfo’ was not declared in this scope
/usr/share/sip/PyQt4/QtCore/qlist.sip:52:20: error: type ‘<type error>’
argument given to ‘delete’, expected pointer
make[2]: ***
[python/CMakeFiles/python_module_qgis__core.dir/core/sip_corepart0.cpp.o] Error
1
make[1]: *** [python/CMakeFiles/python_module_qgis__core.dir/all] Error 2
make: *** [all] Error 2"

What is the problem?

Regards larsf




More information about the Qgis-user mailing list