Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QGis cmake doesn't detect Sip 4.10 for Python bindings #12738

Closed
qgib opened this issue Apr 24, 2010 · 4 comments
Closed

QGis cmake doesn't detect Sip 4.10 for Python bindings #12738

qgib opened this issue Apr 24, 2010 · 4 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS

Comments

@qgib
Copy link
Contributor

qgib commented Apr 24, 2010

Author Name: Luca Casagrande (Luca Casagrande)
Original Redmine Issue: 2678

Redmine category:build/install
Assignee: nobody -


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

This "link":http://www.orocos.org/forum/rtt/rtt-dev/kdl-not-detecting-sip-410-python-bindings report the same problem.

@qgib
Copy link
Contributor Author

qgib commented Apr 24, 2010

Author Name: Jürgen Fischer (@jef-n)


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


  • resolution was changed from to fixed
  • status_id was changed from Open to Closed

@qgib
Copy link
Contributor Author

qgib commented Apr 25, 2010

Author Name: Luca Casagrande (Luca Casagrande)


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 (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.

Thx

@qgib
Copy link
Contributor Author

qgib commented Apr 26, 2010

Author Name: Luca Casagrande (Luca Casagrande)


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

@qgib
Copy link
Contributor Author

qgib commented Jun 29, 2010

Author Name: Jürgen Fischer (@jef-n)


see also #12905

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS labels May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS
Projects
None yet
Development

No branches or pull requests

1 participant