[Qgis-developer] new ubuntu compile problem

Marco Bernasocchi marco at bernawebdesign.ch
Sat Apr 30 11:17:23 EDT 2011


Hi all, I just upgraded to ubuntu 11.04 and I've got two probs:
on one hand the python-sip version appeared aqain:

Couldn't load PyQGIS.
Python support will be disabled.

Traceback (most recent call last):
  File "", line 1, in
RuntimeError: the sip module implements API v8.0 to v8.1 but the
qgis.core module requires API v7.1

Python version:
2.6.6 (r266:84292, Mar 25 2011, 19:33:11)
[GCC 4.5.2]

QGIS version:
1.5.0-Trunk 'Trunk', exported

Python path:
['/home/marco/apps/share/qgis/python', '/home/marco/.qgis/python',
'/home/marco/.qgis/python/plugins',
'/home/marco/apps/share/qgis/python/plugins',
'/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg',
'/usr/lib/pymodules/python2.6', '/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/local/lib/python2.6/dist-packages',
'/usr/lib/python2.6/dist-packages',
'/usr/lib/python2.6/dist-packages/PIL',
'/usr/lib/pymodules/python2.6/gtk-2.0',
'/usr/lib/python2.6/dist-packages/gst-0.10',
'/usr/lib/python2.6/dist-packages/gtk-2.0',
'/usr/lib/pymodules/python2.6/ubuntuone-storage-protocol',
'/usr/lib/pymodules/python2.6/libubuntuone',
'/usr/lib/pymodules/python2.6/ubuntuone-client',
'/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode']


on the other hand I can't compile trunk any more:

[ 41%] Built target spatialiteprovider
make[2]: *** No rule to make target `/usr/lib/libexpat.so', needed by
`src/providers/gpx/libgpxprovider.so'.  Stop.
make[1]: *** [src/providers/gpx/CMakeFiles/gpxprovider.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 41%] [ 41%] Generating moc_qgswfsprovider.cxx
Generating moc_qgswfsdata.cxx
[ 41%] [ 41%] Building CXX object
src/providers/wfs/CMakeFiles/wfsprovider.dir/qgswfsprovider.cpp.o
Building CXX object
src/providers/wfs/CMakeFiles/wfsprovider.dir/qgswfsdata.cpp.o
[ 41%] Building CXX object
src/providers/wfs/CMakeFiles/wfsprovider.dir/moc_qgswfsdata.cxx.o
make[2]: *** No rule to make target `/usr/lib/libexpat.so', needed by
`src/providers/wfs/libwfsprovider.so'.  Stop.
make[2]: *** Waiting for unfinished jobs....
[ 41%] Building CXX object
src/providers/wfs/CMakeFiles/wfsprovider.dir/moc_qgswfsprovider.cxx.o
make[1]: *** [src/providers/wfs/CMakeFiles/wfsprovider.dir/all] Error 2
make: *** [all] Error 2


any idea?

ciaoo
-- 
Marco Bernasocchi
www.bernawebdesign.ch
skype: mbernasocchi


More information about the Qgis-developer mailing list