[QGIS-trac] [Quantum GIS] #2439: QGIS 1.0.2 build on opensuse 11.2 fails with python-sip4 error

Quantum GIS qgis at qgis.org
Fri Feb 12 10:43:15 EST 2010


#2439: QGIS 1.0.2 build on opensuse 11.2 fails with python-sip4 error
---------------------------------------------------------+------------------
   Reporter:  dassau                                     |              Owner:  nobody       
       Type:  bug                                        |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.0.3
  Component:  Build/Install                              |            Version:  1.0.2        
   Keywords:  sip4                                       |   Platform_version:  opensuse 11.2
   Platform:  SuSE                                       |           Must_fix:  No           
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 Hi,

 wanted to build QGIS 1.0.2 rpms for opensuse 11.2 and ended up with
 following python-sip4 error (was working with opensuse 11.1):

 [ 61%] Generating core/core.so
 /usr/src/packages/BUILD/qgis10-1.0.2/python/core/conversions.sip: In
 function 'int convertTo_QMap_1800_0600QMap_1800_0100QVariant(PyObject*,
 void**, int*, PyObject*)':
 /usr/src/packages/BUILD/qgis10-1.0.2/python/core/conversions.sip:367:
 error: 'sipClass_QVariant' was not declared in this scope
 /usr/src/packages/BUILD/qgis10-1.0.2/python/core/conversions.sip:394:
 error: 'sipClass_QVariant' was not declared in this scope
 gmake[3]: *** [sipcoreQMap18000600QMap18000100QVariant.o] Error 1
 make[2]: *** [python/core/core.so] Error 2
 make[1]: *** [python/CMakeFiles/python.dir/all] Error 2
 make: *** [all] Error 2

 opensuse 11.2 uses python-sip-4.9.1

 attached you find a patch that I use succesfully for SLES 10, but it
 doesn't work with 11.2.

 any ideas?

 Regards,
  Otto

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2439>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list