[Qgis-user] ERROR Compiling QGIS 1.8 on Arch after updated python2-sip

Vincent Schut schut at sarvision.nl
Tue Aug 27 02:12:09 PDT 2013


Hi,

just to confirm this: the same happens to me (also on Arch). I tried
downgrading sip and python2-sip to 4.14, but that dit not work. Maybe
because QT/QScintilla is bound to a certain sip version? I did get a
error in ccmake about qscintilla and sip using different sip api's (10
vs 10.1 if I recall correctly). I don't feel like downgrading the
entire QT stack...

Should we file a bug?

Best,
Vincent.

On Mon, 26 Aug 2013 20:06:37 -0700
Saulteau Don <sault.don at gmail.com> wrote:

> I've been trying to compile QGIS 1.8 on Arch Linux x64 after
> python2-sip was updated and now there's an error at about 94% I think
> is related to the updated sip package but not sure.
> 
> 
> 
> Scanning dependencies of target python_module_qgis_core
> [ 94%] Building CXX object
> python/CMakeFiles/python_module_qgis_core.dir/core/sipcorepart0.cpp.o
> [ 94%] Building CXX object
> python/CMakeFiles/python_module_qgis_core.dir/core/sipcorepart1.cpp.o
> [ 94%] Building CXX object
> python/CMakeFiles/python_module_qgis_core.dir/core/sipcorepart2.cpp.o
> In file included from
> /home/saultdon/Development/aur/qgis/src/qgis-1.8.0/python/core/qgsmaplayerregistry.sip:10:0:
> /home/saultdon/Development/aur/qgis/src/qgis-1.8.0/python/../src/core/qgsmaplayerregistry.h:
> In member function ‘virtual void
> sipQgsMapLayerRegistry::connectNotify(const char*)’:
> /home/saultdon/Development/aur/qgis/src/qgis-1.8.0/python/../src/core/qgsmaplayerregistry.h:176:10:
> error: ‘virtual void QgsMapLayerRegistry::connectNotify(const char*)’
> is private
>      void connectNotify( const char * signal );
>           ^
> /home/saultdon/Development/aur/qgis/src/build/python/core/sipcorepart2.cpp:33967:46:
> error: within this context
>          return;
>                                               ^
> make[2]: ***
> [python/CMakeFiles/python_module_qgis_core.dir/core/sipcorepart2.cpp.o]
> Error 1 make[1]: ***
> [python/CMakeFiles/python_module_qgis_core.dir/all] Error 2 make: ***
> [all] Error 2 ==> ERROR: A failure occurred in build().
>     Aborting...
> 
> 
> 
> Do I need to downgrade python2-sip? It's at version 4.15.1 right now.
> 
> 
> 
> ==> Starting build()...
> ...
> -- Looking for openpty - found
> -- Found Proj: /lib64/libproj.so
> -- Found GEOS: /usr/lib/libgeos_c.so
> -- Found GDAL: /usr/lib/libgdal.so (1.10.0)
> -- Found Expat: /lib64/libexpat.so
> -- Found Spatialindex: /usr/lib64/libspatialindex.so
> -- Found Qwt: /usr/lib64/libqwt.so (6.0.2)
> -- Found Sqlite3: /lib64/libsqlite3.so
> -- Found PostgreSQL: /usr/lib/libpq.so
> -- Found SpatiaLite: /lib64/libspatialite.s
> ...
> -- Found PythonInterp: /usr/bin/python2 (found version "2.7.5")
> -- Found Python executable: /usr/bin/python2
> -- Found Python version: 2.7.5
> -- Found Python library: /usr/lib/libpython2.7.so
> -- Found SIP version: 4.15.1
> -- Found PyQt4 version: 4.10.3
> -- Found GSL: -L/usr/lib -lgsl -lgslcblas -lm
> -- txt2tags not found - disabled
> -- Configuring done
> -- Generating done
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user




More information about the Qgis-user mailing list