[Qgis-developer] [Qgis-user] Another compiling error at 48 percent

Etienne Tourigny etourigny.dev at gmail.com
Mon Jun 3 10:35:43 PDT 2013


On Sat, Jun 1, 2013 at 7:08 AM, Pedro Venâncio <pedrongvenancio at yahoo.com>wrote:

> Hi Etienne,
>
> Thank you very much for your help!
>
> I usually do not compile directly, I use the alternative of creating .deb
> packages with dpkg-buildpackage -us -uc -b -d -j4
>
> In fact, it can be a local problem, maybe with some update, because it
> began to happen in the past weekend.
>
> To test, I did a clean install on a virtual machine and it passes the 48%,
> even after applying all updates, but gives error at 83%...
>
> [ 83%] Building CXX object
> src/python/CMakeFiles/qgispython.dir/qgispython.cpp.o
> cd /home/pedro/sextante_github/Quantum-GIS-master/debian/build/src/python
> && /usr/bin/c++   -Dqgispython_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 -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/Quantum-GIS-master/debian/build
> -I/home/pedro/sextante_github/Quantum-GIS-master/src/python/../core
> -I/home/pedro/sextante_github/Quantum-GIS-master/src/python/../core/raster
>  -I/home/pedro/sextante_github/Quantum-GIS-master/src/python/../gui
> -I/usr/include/python2.7    -DCORE_EXPORT= -DGUI_EXPORT= -DPYTHON_EXPORT=
> -DANALYSIS_EXPORT= -DPYTHON_EXPORT= -o
> CMakeFiles/qgispython.dir/qgispython.cpp.o -c
> /home/pedro/sextante_github/Quantum-GIS-master/src/python/qgispython.cpp
> /usr/bin/cmake -E cmake_progress_report
> /home/pedro/sextante_github/Quantum-GIS-master/debian/build/CMakeFiles
> [ 83%] Building CXX object
> src/python/CMakeFiles/qgispython.dir/qgspythonutilsimpl.cpp.o
> cd /home/pedro/sextante_github/Quantum-GIS-master/debian/build/src/python
> && /usr/bin/c++   -Dqgispython_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 -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/Quantum-GIS-master/debian/build
> -I/home/pedro/sextante_github/Quantum-GIS-master/src/python/../core
> -I/home/pedro/sextante_github/Quantum-GIS-master/src/python/../core/raster
>  -I/home/pedro/sextante_github/Quantum-GIS-master/src/python/../gui
> -I/usr/include/python2.7    -DCORE_EXPORT= -DGUI_EXPORT= -DPYTHON_EXPORT=
> -DANALYSIS_EXPORT= -DPYTHON_EXPORT= -o
> CMakeFiles/qgispython.dir/qgspythonutilsimpl.cpp.o -c
> /home/pedro/sextante_github/Quantum-GIS-master/src/python/qgspythonutilsimpl.cpp
> make[3]: *** Sem regra para processar o alvo `/usr/lib/i386-linux-gnu/
> libpython2.7.so', necessário por `output/lib/libqgispython.so.1.9.0'.
> Pare.
> make[3]: Saindo do diretório
> `/home/pedro/sextante_github/Quantum-GIS-master/debian/build'
> make[2]: ** [src/python/CMakeFiles/qgispython.dir/all] Erro 2
> make[2]: Saindo do diretório
> `/home/pedro/sextante_github/Quantum-GIS-master/debian/build'
> make[1]: ** [all] Erro 2
> make[1]: Saindo do diretório
> `/home/pedro/sextante_github/Quantum-GIS-master/debian/build'
> make: ** [build-stamp] Erro 2
> dpkg-buildpackage: erro: debian/rules build deu erro de saída estado 2
> pedro at pedro-vbox:~/sextante_github/Quantum-GIS-master$
>
>
>
> What could be the reason? I know these problems are also happening to
> other people who use the creation of .debs packages.
>

sorry, I don't build .deb packages.

looks like your are missing the python-devel package or similar, or there
is a version mismatch in your python packages... (missing
/usr/lib/i386-linux-gnu/libpython2.7.so)


> Thank you very much!
>
> Best regards,
> Pedro
>
>
>
>
> ________________________________
> From: Etienne Tourigny
>
>
>
> most probably a local problem... I can build latest master without
> problem. Try getting latest code, do a make clean, remove CMakeCache.txt,
> run cmake again and build
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130603/b6c5a5f5/attachment-0001.html>


More information about the Qgis-developer mailing list