[GRASS5] linking grass5.0 modules

Radim Blazek blazek at itc.it
Tue Jan 7 08:31:28 EST 2003

On Tuesday 07 January 2003 10:45 am, Ivan Marchesini wrote:
> Hy to all...
> I succesfully installed grass 5.1 on my pc...... (I hope...  :-)
> Now I have two problem:
> at the moment I start it, (dist/ARCH/bin/grass51) the program start without
> asking anyting about location and mapset..... It's normal???
> When, after, I use d.rast I see that I'm on a location that I created with
> grass 5.0, but I don't know why grass51 chose this one and not another one.
> why this appen???

GUI interface for startup is not yet present in 5.1 and 
init.sh skips the dialog for the first time or for -tcltk (bug). 
'grass51 -text' should be OK, I updated init.sh to force the text mode.

> another problem
> I tried to link the file /usr/lib/grass5/etc/bin/cmd/d.what.rast
>  inside the directory
> ......./grass51_exp_2002_12_13/dist.i686-pc-linux-gnu/etc/bin/cmd
> and the file /usr/lib/grass5/bin/d.what.rast
> inside the directory
> ......./grass51_exp_2002_12_13/dist.i686-pc-linux-gnu/bin
> but when I try to use it, after opening x0 monitor, I obtain this:
> Buttons
>  Left:  what's here
>  Right: quit
> 1671371.875(E) 4833629.79166667(N)
> regione in curvelivello, quant   (221)
> regione in curvelivello, actual  (222.339706)
> Monitor <x0>: Premature EOF
> ERROR eof from graphics driver.

Some monitor functions for interaction with user were changed
in 5.1 so that it is impossible to run interactive modules (d.what.*)
from 5.0 in 5.1.
I added d.what.rast to 5.1 CVS.


More information about the grass-dev mailing list