[Qgis-developer] Problem in Compiling Source Code of Qgis in Ubuntu 12.04 LTS

Pedro Venâncio pedrongvenancio at yahoo.com
Sat Jan 25 04:39:37 PST 2014


Hi,

I'm getting an error when trying to compile from today source code:

[ 20%] Building CXX object src/core/CMakeFiles/qgis_core.dir/gps/qextserialport/moc_qextserialport.cxx.o
cd /home/pedro/sextante_github/QGIS-master/debian/build/src/core && /usr/bin/c++   -Dqgis_core_EXPORTS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_SVG_LIB -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_TEST_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NO_CAST_TO_ASCII -D_TTY_POSIX_ -DEXTERNAL_SPATIALITE -D_HAVE_PTHREAD_ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -O2  -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -fPIC -I/usr/include/qt4 -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtCore -I/home/pedro/sextante_github/QGIS-master/debian/build -I/home/pedro/sextante_github/QGIS-master/src/core -I/home/pedro/sextante_github/QGIS-master/src/core/composer
 -I/home/pedro/sextante_github/QGIS-master/src/core/dxf -I/home/pedro/sextante_github/QGIS-master/src/core/pal -I/home/pedro/sextante_github/QGIS-master/src/core/raster -I/home/pedro/sextante_github/QGIS-master/src/core/renderer -I/home/pedro/sextante_github/QGIS-master/src/core/symbology-ng -I/home/pedro/sextante_github/QGIS-master/src/core/gps/qextserialport -I/usr/include/spatialindex -I/usr/local/include -I/usr/include/gdal    -DCORE_EXPORT= -DGUI_EXPORT= -DPYTHON_EXPORT= -DANALYSIS_EXPORT= -DAPP_EXPORT= -DTEST_DATA_DIR="\"/home/pedro/sextante_github/QGIS-master/tests/testdata\"" -o CMakeFiles/qgis_core.dir/gps/qextserialport/moc_qextserialport.cxx.o -c /home/pedro/sextante_github/QGIS-master/debian/build/src/core/gps/qextserialport/moc_qextserialport.cxx
/usr/bin/cmake -E cmake_progress_report /home/pedro/sextante_github/QGIS-master/debian/build/CMakeFiles 
make[3]: *** No rule to make target `/usr/lib/i386-linux-gnu/libspatialindex.so', needed by `output/lib/libqgis_core.so.2.1.0'.  Stop.
make[3]: *** Waiting for unfinished jobs....
[ 20%] Building CXX object src/core/CMakeFiles/qgis_core.dir/gps/qextserialport/moc_qextserialenumerator.cxx.o
cd /home/pedro/sextante_github/QGIS-master/debian/build/src/core && /usr/bin/c++   -Dqgis_core_EXPORTS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_SVG_LIB -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_TEST_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NO_CAST_TO_ASCII -D_TTY_POSIX_ -DEXTERNAL_SPATIALITE -D_HAVE_PTHREAD_ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -O2  -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -fPIC -I/usr/include/qt4 -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtCore -I/home/pedro/sextante_github/QGIS-master/debian/build -I/home/pedro/sextante_github/QGIS-master/src/core -I/home/pedro/sextante_github/QGIS-master/src/core/composer
 -I/home/pedro/sextante_github/QGIS-master/src/core/dxf -I/home/pedro/sextante_github/QGIS-master/src/core/pal -I/home/pedro/sextante_github/QGIS-master/src/core/raster -I/home/pedro/sextante_github/QGIS-master/src/core/renderer -I/home/pedro/sextante_github/QGIS-master/src/core/symbology-ng -I/home/pedro/sextante_github/QGIS-master/src/core/gps/qextserialport -I/usr/include/spatialindex -I/usr/local/include -I/usr/include/gdal    -DCORE_EXPORT= -DGUI_EXPORT= -DPYTHON_EXPORT= -DANALYSIS_EXPORT= -DAPP_EXPORT= -DTEST_DATA_DIR="\"/home/pedro/sextante_github/QGIS-master/tests/testdata\"" -o CMakeFiles/qgis_core.dir/gps/qextserialport/moc_qextserialenumerator.cxx.o -c /home/pedro/sextante_github/QGIS-master/debian/build/src/core/gps/qextserialport/moc_qextserialenumerator.cxx
make[3]: Leaving directory `/home/pedro/sextante_github/QGIS-master/debian/build'
make[2]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2
make[2]: Leaving directory `/home/pedro/sextante_github/QGIS-master/debian/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/pedro/sextante_github/QGIS-master/debian/build'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2


The last time I compiled the master version was about 1 month, without problems. 


Any hint?

Thanks,
Pedro



More information about the Qgis-developer mailing list