[Qgis-developer] error when compiling using debian rules
matteo
matteo.ghetta at gmail.com
Sun Dec 27 07:53:47 PST 2015
Hi all,
I'm trying to compile QGIS with the debian rules on a fresh new debian
stable release (so jessie 8.2).
but after a while I get this error:
[ 29%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/gps/qextserialport/moc_qextserialport.cxx.o
cd /home/matteo/lavori/QGIS/QGIS/debian/build/src/core && /usr/bin/c++
-DPYTHON2 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_SQL_LIB
-DQT_SVG_LIB -DQT_WEBKIT_LIB -DQT_XML_LIB -DWITH_QTWEBKIT
-D_HAVE_PTHREAD_ -D_TTY_POSIX_ -Dqgis_core_EXPORTS -g -O2
-fstack-protector-strong -Wformat -Werror=format-security
-D_FORTIFY_SOURCE=2 -O2 -D_FORTIFY_SOURCE=2
-DSPATIALITE_VERSION_GE_4_0_0 -DSPATIALITE_HAS_INIT_EX -std=c++11 -Wall
-Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing
-fvisibility=hidden -fvisibility-inlines-hidden -fPIC -isystem
/usr/include/qt4 -isystem /usr/include/qt4/QtOpenGL -isystem
/usr/include/qt4/QtSvg -isystem /usr/include/qt4/QtWebKit -isystem
/usr/include/qt4/QtGui -isystem /usr/include/qt4/QtXml -isystem
/usr/include/qt4/QtSql -isystem /usr/include/qt4/QtNetwork -isystem
/usr/include/qt4/QtCore -I/home/matteo/lavori/QGIS/QGIS/debian/build
-I/home/matteo/lavori/QGIS/QGIS/src/core
-I/home/matteo/lavori/QGIS/QGIS/src/core/auth
-I/home/matteo/lavori/QGIS/QGIS/src/core/composer
-I/home/matteo/lavori/QGIS/QGIS/src/core/dxf
-I/home/matteo/lavori/QGIS/QGIS/src/core/effects
-I/home/matteo/lavori/QGIS/QGIS/src/core/geometry
-I/home/matteo/lavori/QGIS/QGIS/src/core/layertree
-I/home/matteo/lavori/QGIS/QGIS/src/core/pal
-I/home/matteo/lavori/QGIS/QGIS/src/core/raster
-I/home/matteo/lavori/QGIS/QGIS/src/core/renderer
-I/home/matteo/lavori/QGIS/QGIS/src/core/symbology-ng
-I/home/matteo/lavori/QGIS/QGIS/src/core/gps/qextserialport -isystem
/usr/include/spatialindex -isystem /usr/include/gdal -isystem
/usr/include/QtCrypto -DCORE_EXPORT= -DGUI_EXPORT= -DPYTHON_EXPORT=
-DANALYSIS_EXPORT= -DAPP_EXPORT= -DCUSTOMWIDGETS_EXPORT=
-DSERVER_EXPORT= -UCORE_EXPORT "-DCORE_EXPORT=__attribute__ ((visibility
(\"default\")))"
-DTEST_DATA_DIR="\"/home/matteo/lavori/QGIS/QGIS/tests/testdata\""
-Wno-deprecated-declarations -o
CMakeFiles/qgis_core.dir/gps/qextserialport/moc_qextserialport.cxx.o -c
/home/matteo/lavori/QGIS/QGIS/debian/build/src/core/gps/qextserialport/moc_qextserialport.cxx
/usr/bin/cmake -E cmake_progress_report
/home/matteo/lavori/QGIS/QGIS/debian/build/CMakeFiles
make[4]: *** No rule to make target
'/usr/lib/x86_64-linux-gnu/libgeos_c.so', needed by
'output/lib/libqgis_core.so.2.13.0'. Stop.
make[4]: *** Waiting for unfinished jobs....
[ 29%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/gps/qextserialport/moc_qextserialenumerator.cxx.o
cd /home/matteo/lavori/QGIS/QGIS/debian/build/src/core && /usr/bin/c++
-DPYTHON2 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_SQL_LIB
-DQT_SVG_LIB -DQT_WEBKIT_LIB -DQT_XML_LIB -DWITH_QTWEBKIT
-D_HAVE_PTHREAD_ -D_TTY_POSIX_ -Dqgis_core_EXPORTS -g -O2
-fstack-protector-strong -Wformat -Werror=format-security
-D_FORTIFY_SOURCE=2 -O2 -D_FORTIFY_SOURCE=2
-DSPATIALITE_VERSION_GE_4_0_0 -DSPATIALITE_HAS_INIT_EX -std=c++11 -Wall
-Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing
-fvisibility=hidden -fvisibility-inlines-hidden -fPIC -isystem
/usr/include/qt4 -isystem /usr/include/qt4/QtOpenGL -isystem
/usr/include/qt4/QtSvg -isystem /usr/include/qt4/QtWebKit -isystem
/usr/include/qt4/QtGui -isystem /usr/include/qt4/QtXml -isystem
/usr/include/qt4/QtSql -isystem /usr/include/qt4/QtNetwork -isystem
/usr/include/qt4/QtCore -I/home/matteo/lavori/QGIS/QGIS/debian/build
-I/home/matteo/lavori/QGIS/QGIS/src/core
-I/home/matteo/lavori/QGIS/QGIS/src/core/auth
-I/home/matteo/lavori/QGIS/QGIS/src/core/composer
-I/home/matteo/lavori/QGIS/QGIS/src/core/dxf
-I/home/matteo/lavori/QGIS/QGIS/src/core/effects
-I/home/matteo/lavori/QGIS/QGIS/src/core/geometry
-I/home/matteo/lavori/QGIS/QGIS/src/core/layertree
-I/home/matteo/lavori/QGIS/QGIS/src/core/pal
-I/home/matteo/lavori/QGIS/QGIS/src/core/raster
-I/home/matteo/lavori/QGIS/QGIS/src/core/renderer
-I/home/matteo/lavori/QGIS/QGIS/src/core/symbology-ng
-I/home/matteo/lavori/QGIS/QGIS/src/core/gps/qextserialport -isystem
/usr/include/spatialindex -isystem /usr/include/gdal -isystem
/usr/include/QtCrypto -DCORE_EXPORT= -DGUI_EXPORT= -DPYTHON_EXPORT=
-DANALYSIS_EXPORT= -DAPP_EXPORT= -DCUSTOMWIDGETS_EXPORT=
-DSERVER_EXPORT= -UCORE_EXPORT "-DCORE_EXPORT=__attribute__ ((visibility
(\"default\")))"
-DTEST_DATA_DIR="\"/home/matteo/lavori/QGIS/QGIS/tests/testdata\""
-Wno-deprecated-declarations -o
CMakeFiles/qgis_core.dir/gps/qextserialport/moc_qextserialenumerator.cxx.o
-c
/home/matteo/lavori/QGIS/QGIS/debian/build/src/core/gps/qextserialport/moc_qextserialenumerator.cxx
make[4]: Leaving directory '/home/matteo/lavori/QGIS/QGIS/debian/build'
CMakeFiles/Makefile2:1128: recipe for target
'src/core/CMakeFiles/qgis_core.dir/all' failed
make[3]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2
make[3]: Leaving directory '/home/matteo/lavori/QGIS/QGIS/debian/build'
Makefile:150: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/matteo/lavori/QGIS/QGIS/debian/build'
dh_auto_build: make -j4 returned exit code 2
debian/rules:194: recipe for target 'build-arch' failed
make[1]: *** [build-arch] Error 2
make[1]: Leaving directory '/home/matteo/lavori/QGIS/QGIS'
debian/rules:194: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
I thought that the problem could be related to the libqextserialport1
but it is correctly installed:
matteo at debian:~/lavori/QGIS/QGIS$ aptitude search qextserialport
p libqextserialport- - interface to serial ports for Qt-based
applications, debug info
i libqextserialport-dev to serial ports for Qt-based applications
i A libqextserialport1 - interface to serial ports for Qt-based apps -
development files
any ideas or am I missing something?!
Thanks!!
Matteo
More information about the Qgis-developer
mailing list