Bug report #2061

build fails, problem with sip

Added by pvanbosgeo - over 14 years ago. Updated over 14 years ago.

Status:Closed
Priority:Low
Assignee:nobody -
Category:Build/Install
Affected QGIS version: Regression?:No
Operating System:Linux Easy fix?:No
Pull Request or Patch supplied: Resolution:fixed
Crashes QGIS or corrupts data: Copied to github as #:12121

Description

This does to be similar to the bug 1959, but different platform (Ubuntu 9.1). I am trying to build QGIS from source (from svn r11953). I am getting the following error message:

/home/name/Software/QGIS/qgis_1.3.0/python/core/conversions.sip: In function ‘int convertTo_QMap_1800_0600QMap_1800_0100QVariant(PyObject*, void**, int*, PyObject*)’:
/home/name/Software/QGIS/qgis_1.3.0/python/core/conversions.sip:369: error: ‘sipClass_QVariant’ was not declared in this scope
/home/name/Software/QGIS/qgis_1.3.0/python/core/conversions.sip:396: error: ‘sipClass_QVariant’ was not declared in this scope
maker3: * [sipcoreQMap18000600QMap18000100QVariant.o] Error 1
maker2:
[python/core/core.so] Error 2
maker1:
[python/CMakeFiles/python.dir/all] Error 2
make: *
[all] Error 2

History

#1 Updated by Martin Dobias over 14 years ago

Are you building QGIS from SVN trunk? or some branch?


Martin

#2 Updated by Jürgen Fischer over 14 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

qgis 1.3 doesn't build with SIP 4.9. The sip part of patch http://launchpadlibrarian.net/33761131/qgis_1.3.0-1~karmic9.diff.gz should help - it's a backport of 94ab29b1 (SVN r11781). Feel free to reopen, if it doesn't

Also available in: Atom PDF