[QGIS-trac] Re: [Quantum GIS] #2678: QGis cmake doesn't detect Sip 4.10 for Python bindings

Quantum GIS qgis at qgis.org
Sun Apr 25 08:24:05 EDT 2010


#2678: QGis cmake doesn't detect Sip 4.10 for Python bindings
--------------------------------------------------------------+-------------
        Reporter:  lucacasagrande                             |         Owner:  nobody
            Type:  bug                                        |        Status:  closed
        Priority:  critical: causes crash or data corruption  |     Milestone:        
       Component:  Build/Install                              |       Version:        
      Resolution:  fixed                                      |      Keywords:  sip   
Platform_version:  ubuntu lucid                               |      Platform:  Debian
        Must_fix:  Yes                                        |   Status_info:  0     
--------------------------------------------------------------+-------------
Comment (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

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2678#comment:2>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list