[Qgis-user] [Fwd: Binary QGIS 1.2.0.2~jaunty + GRASS does not work]

Jürgen E. Fischer jef at norbit.de
Fri Sep 11 04:18:24 PDT 2009


Hi Agus,

On Fri, 11. Sep 2009 at 12:17:04 +0200, Agustin Lobo wrote:
> Follow up: using
> sudo apt-get install qgis-plugin-grass
> instead of Synaptic and having  libgdal1-1.6.0  previously
> installed (and not having libgdal1-1.5.0),
> does not install libgdal1-1.5.0, but QGIS still crashes with the same  
> message

Can you use any GRASS layers from GDAL?   The GRASS plugin for GDAL might need
a rebuild.  Perhaps the old plugins don't work with the new GRASS.

As far a QGIS is concerned I don't see a direct dependency to gdal 1.5
anywhere in the packages.

The problem here is that QGIS GRASS plugin justs expects GDAL to have GRASS
plugins, but doesn't directly link with them (which would produce a specific
dependency automatically).

The dependency to libgdal1-*-grass is just there to make sure GDAL has GRASS
plugins, but that assumes that there is only one set of plugins available.  If
the latter is not the case apt might choose to install libgdal1-1.5.0-grass
(and it's dependencies) over libgdal1-1.6.0-grass.

I don't known how to express a dependency that would deal with this
automatically (and would work with all repositories).  Perhaps simply changing
the order is enough.

A workaround is to install libgdal1-1.6.0-grass beforehand - obviously that
doesn't help with the crash if the GRASS plugins for GDAL don't currently work
at all.


Jürgen

-- 
Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-20
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
Aoftware Engineer         D-26506 Norden               http://www.norbit.de

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502




More information about the Qgis-user mailing list