Hi all,<br><br>I am compiling qGIS trunk on archlinux: Linux-3.4.4-2-ARCH-x86_64-with-glibc2.3.4<br><br>I managed to install spatialindex and spatialite from AUR and configuration with ccmake.. goes fine.<br><br>When I run make, I get:<br>
<br>[ 86%] Built target heatmapplugin<br>[ 86%] Building CXX object src/python/CMakeFiles/qgispython.dir/qgspythonutilsimpl.cpp.o<br>/home/miblon/data/Development/Quantum-GIS/src/python/qgspythonutilsimpl.cpp: In member function ‘QString QgsPythonUtilsImpl::getTraceback()’:<br>
/home/miblon/data/Development/Quantum-GIS/src/python/qgspythonutilsimpl.cpp:260:34: error: ‘PyString_Check’ was not declared in this scope<br>/home/miblon/data/Development/Quantum-GIS/src/python/qgspythonutilsimpl.cpp:263:40: error: ‘PyString_AsString’ was not declared in this scope<br>
/home/miblon/data/Development/Quantum-GIS/src/python/qgspythonutilsimpl.cpp: In member function ‘QString QgsPythonUtilsImpl::getTypeAsString(PyObject*)’:<br>/home/miblon/data/Development/Quantum-GIS/src/python/qgspythonutilsimpl.cpp:292:27: error: ‘PyClass_Check’ was not declared in this scope<br>
/home/miblon/data/Development/Quantum-GIS/src/python/qgspythonutilsimpl.cpp:295:42: error: ‘PyClassObject’ was not declared in this scope<br>/home/miblon/data/Development/Quantum-GIS/src/python/qgspythonutilsimpl.cpp:295:19: error: expected primary-expression before ‘(’ token<br>
/home/miblon/data/Development/Quantum-GIS/src/python/qgspythonutilsimpl.cpp:295:57: error: expected primary-expression before ‘)’ token<br>/home/miblon/data/Development/Quantum-GIS/src/python/qgspythonutilsimpl.cpp:295:58: error: expected ‘)’ before ‘obj’<br>
/home/miblon/data/Development/Quantum-GIS/src/python/qgspythonutilsimpl.cpp: In member function ‘QString QgsPythonUtilsImpl::PyObjectToQString(PyObject*)’:<br>/home/miblon/data/Development/Quantum-GIS/src/python/qgspythonutilsimpl.cpp:366:60: error: ‘PyString_AS_STRING’ was not declared in this scope<br>
/home/miblon/data/Development/Quantum-GIS/src/python/qgspythonutilsimpl.cpp:374:28: error: ‘PyString_Check’ was not declared in this scope<br>/home/miblon/data/Development/Quantum-GIS/src/python/qgspythonutilsimpl.cpp:376:55: error: ‘PyString_AS_STRING’ was not declared in this scope<br>
/home/miblon/data/Development/Quantum-GIS/src/python/qgspythonutilsimpl.cpp:382:45: error: ‘PyObject_Unicode’ was not declared in this scope<br>/home/miblon/data/Development/Quantum-GIS/src/python/qgspythonutilsimpl.cpp:389:63: error: ‘PyString_AsString’ was not declared in this scope<br>
/home/miblon/data/Development/Quantum-GIS/src/python/qgspythonutilsimpl.cpp:401:61: error: ‘PyString_AS_STRING’ was not declared in this scope<br>/home/miblon/data/Development/Quantum-GIS/src/python/qgspythonutilsimpl.cpp: In member function ‘QString QgsPythonUtilsImpl::getTypeAsString(PyObject*)’:<br>
/home/miblon/data/Development/Quantum-GIS/src/python/qgspythonutilsimpl.cpp:307:1: warning: control reaches end of non-void function [-Wreturn-type]<br>make[2]: *** [src/python/CMakeFiles/qgispython.dir/qgspythonutilsimpl.cpp.o] Error 1<br>
make[1]: *** [src/python/CMakeFiles/qgispython.dir/all] Error 2<br>make: *** [all] Error 2<br><br>My configuration is:<br><br> BINDINGS_GLOBAL_INSTALL OFF <br>
BISON_EXECUTABLE /usr/bin/bison <br>
BUILD_TESTING ON <br>
CMAKE_BUILD_TYPE RelWithDebInfo <br>
CMAKE_INSTALL_PREFIX /usr/local <br>
ENABLE_TESTS ON <br>
EXPAT_INCLUDE_DIR /usr/include <br>
EXPAT_LIBRARY /usr/lib/libexpat.so <br>
FLEX_EXECUTABLE /usr/bin/flex <br>
GDAL_CONFIG /usr/bin/gdal-config <br>
GDAL_CONFIG_PREFER_FWTOOLS_PAT /bin_safe <br>
GDAL_CONFIG_PREFER_PATH /bin <br>
GDAL_INCLUDE_DIR /usr/include <br>
GDAL_LIBRARY /usr/lib/libgdal.so <br>
GEOS_CONFIG /usr/bin/geos-config <br>
GEOS_CONFIG_PREFER_PATH /bin <br>
GEOS_INCLUDE_DIR /usr/include <br>
GEOS_LIBRARY /usr/lib/libgeos_c.so <br>
GEOS_LIB_NAME_WITH_PREFIX -lgeos_c <br>
GIT_MARKER /home/miblon/data/Development/Quantum-GIS/.git/index <br>
GRASS_PREFIX <br>
GSL_CONFIG /usr/bin/gsl-config <br>
GSL_CONFIG_PREFER_PATH /bin <br>
GSL_EXE_LINKER_FLAGS -Wl,-rpath, <br>
PEDANTIC ON <br>
POSTGRESQL_PREFIX <br>
POSTGRES_CONFIG /usr/bin/pg_config <br>
POSTGRES_CONFIG_PREFER_PATH /bin <br>
POSTGRES_INCLUDE_DIR /usr/include <br>
POSTGRES_LIBRARY /usr/lib/libpq.so <br>
PROJ_INCLUDE_DIR /usr/include <br>
PROJ_LIBRARY /usr/lib/libproj.so <br>
PYRCC4_PROGRAM /usr/bin/pyrcc4 <br>
PYTHON_LIBRARY /usr/bin/python <br>
PYUIC4_PROGRAM /usr/bin/pyuic4 <br>
QT_QMAKE_EXECUTABLE /usr/bin/qmake <br>
QWT_INCLUDE_DIR /usr/include/qwt <br>
QWT_LIBRARY /usr/lib/libqwt.so <br>
SPATIALINDEX_INCLUDE_DIR /usr/include/spatialindex <br>
SPATIALINDEX_LIBRARY /usr/lib/libspatialindex.so <br>
SPATIALITE_INCLUDE_DIR /usr/include <br>
SPATIALITE_LIBRARY /usr/lib/libspatialite.so <br>
SQLITE3_INCLUDE_DIR /usr/include <br>
SQLITE3_LIBRARY /usr/lib/libsqlite3.so <br>
TXT2TAGS_EXECUTABLE /usr/bin/txt2tags <br>
WITH_APIDOC OFF <br>
WITH_ASTYLE OFF <br>
WITH_BINDINGS ON <br>
WITH_DESKTOP ON <br>
WITH_GLOBE OFF <br>
WITH_GRASS ON <br>
WITH_INTERNAL_QWTPOLAR ON <br>
WITH_INTERNAL_SPATIALITE OFF <br>
WITH_MAPSERVER OFF <br>
WITH_POSTGRESQL ON <br>
WITH_PYSPATIALITE OFF <br>
WITH_QTMOBILITY OFF <br>
WITH_SPATIALITE OFF <br>
WITH_TOUCH OFF <br>
WITH_TXT2TAGS_PDF OFF<br>