[GRASS-dev] G6.4.2: gis.m issue on Ubuntu

Hamish hamish_b at yahoo.com
Tue Jul 23 02:52:57 PDT 2013


MarkusN:

> I got a request from an Ubuntu user related to gis.m/tcltk/sqlite but
> have no idea how to help:
> 
> On Tue, Jul 23, 2013 at 10:01 AM, wrote:
>>  I am trying to run Grass 6.4 following instructions in chapter 3 of your
>>  book using the nc_spm_08 downloaded from your site. I am using Ubuntu
>>  12.10 64-bit, with Grass 6.4 installed from the Ubuntu Software Center,
>>  and with SQLite 3.
>> 
>>  I get this message when trying to run -> gis.m
>> 
>>  GRASS 6.4.2 (nc_spm_08):~ > gis.m
>>  GRASS 6.4.2 (nc_spm_08):~ > error reading package index
>>  file /usr/lib/sqlite/pkgIndex.tcl: expected version number but got
>>  "0.0."
>> 
>>  The line in pkgIndex.tcl is:
>> 
>>  package ifneeded sqlite 0.0. [list load [file join $dir libtclsqlite.so.0] 
> sqlite]
>> 
>>  How can this be fixed?
> 
> Does anyone have a suggestion for this user?

not really, /usr/lib/sqlite/pkgIndex.tcl comes from the libsqlite-tcl package,
but that is not used or required by the grass package(s) AFAIK. I just tried
GIS.m in an Lubuntu 13.04 VM and gis.m worked ok. I did get the same error message
if I manually installed the libsqlite-tcl package (even with dbf as the db.connect
default), but other than the message in the terminal gis.m seemed to work ok.

So I'd guess an error in the other package and grass users can ignore it?


?,
Hamish



More information about the grass-dev mailing list