[Qgis-developer] no python on fresh compile on natty
Richard Duivenvoorde
rdmailings at duif.net
Tue May 10 06:59:16 EDT 2011
Hi py-devs,
installed Ubuntu 11.04 on laptop and trying to compile qgis from svn
(r15866).
compiling (debug mode) ends ok, no errors or so, but I do not have python
(though there is a non working menu-item 'python-console').
Running qgis:
Debug: qgisapp.cpp: 4689: (loadPythonSupport) load library
/home/richard/apps/qgis/trunk/debug/lib/qgispython (1.7.0)
Debug: qgisapp.cpp: 4697: (loadPythonSupport) Couldn't load Python support
library: Cannot load library
/home/richard/apps/qgis/trunk/debug/lib/qgispython:
(/usr/lib/libpython2.7.so.1.0: undefined symbol: forkpty, version
GLIBC_2.0)
Warning: Couldn't load Python support library: Cannot load library
/home/richard/apps/qgis/trunk/debug/lib/qgispython:
(/usr/lib/libpython2.7.so.1.0: undefined symbol: forkpty, version
GLIBC_2.0)
Any idea?
Regards,
Richard
Further info:
Got all dependencies from: ppa:ubuntugis/ubuntugis-unstable/ubuntu
$sudo apt-get build-dep qgis
the following new packages will be installed:
appmenu-qt autotools-dev bison cmake cmake-data comerr-dev debhelper
emacsen-common flex grass grass-dev html2text krb5-multidev lesstif2
libaudio2 libcurl3 libcurl4-gnutls-dev libdap-dev libdap10
libdbusmenu-qt2 libdrm-dev libepsilon0 libexpat1-dev libfcgi-dev
libfcgi0ldbl bgcrypt11-dev libgdal1-1.6.0 libgdal1-1.8.0 libgdal1-dev
libgeos-3.2.2 libgeos-c1 libgeos-dev libgif-dev libgl1-mesa-dev
libglu1-mesa-dev libgnutls-dev libgpg-error-dev libgsl0-dev libgssrpc4
libhdf4-0-alt libhdf4-alt-dev libhdf5-serial-1.8.4 libhdf5-serial-dev
libidn11-dev libjasper-dev libjpeg62-dev libkadm5clnt-mit7
libkadm5srv-mit7 libkdb5-4 libkms1 libkrb5-dev libldap2-dev libltdl-dev
libmail-sendmail-perl libmng1 libmysqlclient-dev libmysqlclient16
libnetcdf-dev libnetcdf6 ibodbcinstq1c2 libogdi3.2 libphonon4
libpng12-dev libpq-dev libpq5 libproj-dev libproj0 libpthread-stubs0
libpthread-stubs0-dev libqt3-mt libqt4-dbus libqt4-declarative
libqt4-designer libqt4-dev libqt4-help libqt4-network libqt4-opengl
libqt4-opengl-dev libqt4-qt3support libqt4-script libqt4-scripttools
libqt4-sql libqt4-sql-mysql libqt4-svg libqt4-test libqt4-xml
libqt4-xmlpatterns libqtassistantclient4 libqtcore4 libqtgui4
libqtwebkit-dev libqtwebkit4 libqwt5-qt4 libqwt5-qt4-dev
libspatialite-dev libspatialite2 libsqlite3-dev libssl-dev libsvn1
libsys-hostname-long-perl libtasn1-3-dev libtool libwxbase2.8-0
libwxgtk2.8-0 libx11-dev libxau-dev libxcb1-dev libxdmcp-dev
libxerces-c2-dev libxerces-c28 libxext-dev libxml2-dev
libxmlrpc-core-c3-0 m4 mesa-common-dev mysql-common phonon
phonon-backend-gstreamer po-debconf proj-bin proj-data pyqt4-dev-tools
python-dev python-qt4 python-qt4-dev python-sip python-sip-dev
python2.7-dev qt4-qmake subversion tk8.4 unixodbc-dev x11proto-core-dev
x11proto-input-dev x11proto-kb-dev x11proto-xext-dev xtrans-dev
zlib1g-dev
$ cmake ..
-- Quantum GIS version: 1.7.0 Wroclaw (10700)
-- Found GRASS: /usr/lib/grass64 (6.4.0+42329)
-- Found Proj: /usr/lib/libproj.so
-- Found Expat: /usr/lib/i386-linux-gnu/libexpat.so
-- Found GSL: -L/usr/lib -lgsl -lgslcblas -lm
-- Found GEOS: /usr/lib/libgeos_c.so
-- Found GDAL: /usr/lib/libgdal1.8.0.so
-- Found Qwt: /usr/lib/libqwt-qt4.so
-- Found PostgreSQL: /usr/lib/libpq.so
-- Pedantic compiler settings enabled
-- Debug output enabled
-- Found Python executable: /usr/bin/python2.7
-- Found Python version: 2.7.1+
-- Found Python library: /usr/lib/libpython2.7.so
-- Found SIP version: 4.12.1
-- Found PyQt4 version: 4.8.3
-- txt2tags not found - disabled
-- Configuring done
-- Generating done
richard:~$ python
/home/richard/dev/qgis/svn/trunk/qgis/cmake/FindLibPython.py
exec_prefix:/usr
short_version:2.7
long_version:2.7.1+
py_inc_dir:/usr/include/python2.7
site_packages_dir:/usr/lib/python2.7/dist-packages
richard:~$ python /home/richard/dev/qgis/svn/trunk/qgis/cmake/FindPyQt.py
pyqt_version:040803
pyqt_version_num:264195
pyqt_version_str:4.8.3
pyqt_version_tag:Qt_4_7_1
pyqt_sip_dir:/usr/share/sip/PyQt4
pyqt_sip_flags:-x VendorID -t WS_X11 -x PyQt_NoPrintRangeBug -t Qt_4_7_1
-x Py_v3 -g
pyqt_bin_dir:/usr/bin
richard:~$ python /home/richard/dev/qgis/svn/trunk/qgis/cmake/FindSIP.py
sip_version:040c01
sip_version_num:265217
sip_version_str:4.12.1
sip_bin:/usr/bin/sip
default_sip_dir:/usr/share/sip
sip_inc_dir:/usr/include/python2.7
sip_mod_dir:/usr/lib/python2.7/dist-packages
More information about the Qgis-developer
mailing list