Opened 14 years ago

Closed 14 years ago

#2061 closed bug (fixed)

build fails, problem with sip

Reported by: pvanbosgeo Owned by: nobody
Priority: critical: causes crash or data corruption Milestone:
Component: Build/Install Version: 1.3.0
Keywords: build, sip Cc:
Must Fix for Release: No Platform: Linux
Platform Version: Ubuntu 9.1 Awaiting user input: no

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 make[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

Change History (2)

comment:1 by wonder, 14 years ago

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

What's version of sip you're using (use sip -V) ?

Martin

comment:2 by jef, 14 years ago

Resolution: fixed
Status: newclosed

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 r11780. Feel free to reopen, if it doesn't

Note: See TracTickets for help on using tickets.