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

Saulteau Don sault.don at gmail.com
Mon Aug 26 20:06:37 PDT 2013


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



More information about the Qgis-user mailing list