[GRASS-user] # gis.m & [1] 26553 gis.m exec: wish: not found

Hamish hamish_nospam at yahoo.com
Sun Dec 10 21:17:11 EST 2006


Tobias Degen wrote:
> I'm running freebsd 6.1 with Xorg
> for installing grass-6.2.0RC1
..
> when I'm starting grass62
> the gui is not starting
> If I try to start it in the shell with gis.m the following thing
> happens
> 
> # gis.m &
> [1] 26553
> # exec: wish: not found

"wish" is the Tcl/Tk interpreter.

> I solved the problem by changing the Init.sh file
>   else
>      GRASS_WISH=/usr/local/bin/wish8.4
> #before it was GRASS_WISH=wish


alternate solutions:
1) ln -s /usr/local/bin/wish8.4 /usr/local/bin/wish

2) "grass62 --help" shows:
...
Environment variables relevant for startup:
  GRASS_TCLSH                    set tclsh shell name to override 'tclsh'
  GRASS_WISH                     set wish shell name to override 'wish'


so for bash/ash you could do this before starting grass62:
GRASS_WISH=wish8.4
export GRASS_WISH

To save time, you could put that in your ~/.grass.bashrc file.

For csh see the GRASS "variables" help page.


Hamish




More information about the grass-user mailing list