Bug report #2678

QGis cmake doesn't detect Sip 4.10 for Python bindings

Added by Luca Casagrande about 14 years ago. Updated almost 14 years ago.

Assignee:nobody -
Affected QGIS version: Regression?:No
Operating System:Debian Easy fix?:No
Pull Request or Patch supplied: Resolution:fixed
Crashes QGIS or corrupts data: Copied to github as #:12738


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.


#1 Updated by Jürgen Fischer about 14 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

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

#2 Updated by Luca Casagrande about 14 years ago

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 (commit:0f397015 (SVN r266):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.


#3 Updated by Luca Casagrande about 14 years ago

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

#4 Updated by Jürgen Fischer almost 14 years ago

see also #2845

Also available in: Atom PDF