Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#2678 closed bug (fixed)

QGis cmake doesn't detect Sip 4.10 for Python bindings

Reported by: lucacasagrande Owned by: nobody
Priority: critical: causes crash or data corruption Milestone:
Component: Build/Install Version:
Keywords: sip Cc:
Must Fix for Release: Yes Platform: Debian
Platform Version: ubuntu lucid Awaiting user input: no

Description

QGis configure process doesn't detect Sip 4.10.1. This versione is shipped with the next Ubuntu release (Lucid)

This link report the same problem.

Change History (4)

comment:1 Changed 12 years ago by jef

Resolution: fixed
Status: newclosed

Lucid packages 1.4 are available in ubuntugis (including a fix). trunk doesn't have this problem.

comment:2 Changed 12 years ago by lucacasagrande

Yep you are right, there's no problem in sip detection. The issue with Python still remain:

Impossibile caricare PyQGIS.
Il supporto Python verrà disabilitato.

Traceback (most recent call last):
  File "", line 1, in 
ImportError: dynamic module does not define init function (initcore)

Versione Python:
2.6.5 (r265:79063, Apr 16 2010, 14:15:55) 
[GCC 4.4.3]

Versione di QGIS:
1.5.0-Trunk 'Trunk', 13378

Percorso Python:
['/usr/local/share/qgis/python', '/home/luca/.qgis/python', '/home/luca/.qgis/python/plugins', '/usr/local/share/qgis/python/plugins', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/PIL', '/usr/lib/python2.6/dist-packages/gst-0.10', '/usr/lib/pymodules/python2.6', '/usr/lib/python2.6/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.6/gtk-2.0', '/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode', '/usr/local/lib/python2.6/dist-packages']

I checked out the dependencies using apt-get build-dep with 1.4.0 package and this is the result:

 cvs debhelper gettext grass grass-dev html2text intltool-debian lesstif2 libexpat1-dev libfontconfig1-dev libgdal1-1.6.0 libgdal1-dev libgif-dev
  libhdf4-0-alt libhdf4-alt-dev libhdf5-serial-1.8.4 libhdf5-serial-dev libjasper-dev libltdl-dev libmail-sendmail-perl libmysqlclient-dev libnetcdf-dev
  libnetcdf4 libodbcinstq1c2 libogdi3.2 libqt3-mt libsys-hostname-long-perl libtool libxi-dev libxrandr-dev libxrender-dev odbcinst odbcinst1debian1
  po-debconf sharutils unixodbc unixodbc-dev x11proto-randr-dev x11proto-render-dev

Gdal and Grass are built from source and working fine.

Thx

comment:3 Changed 12 years ago by lucacasagrande

Inside python I can import qgis.core and qgis.gui with no errors.

comment:4 Changed 11 years ago by jef

see also #2845

Note: See TracTickets for help on using tickets.