[GRASS5] d.dm / d.m error

I get this error when trying to run either d.m in GRASS 5.1 or d.dm in
5.0. I'm not too sure what it means. Using Tcl/Tk 8.2, compiled and
installed from source on IRIX.

Paul

Mapset <PERMANENT> in Location <sjpnew>
GRASS 5.0.3-cvs > d.dm
invalid command name "package"
    while executing "error "invalid command name \"$name\""" invoked from
    within
"if {!$tcl_interactive || ([info level] > 2) || [info script] != ""} {
        error "invalid command name \"$name\"" }" (procedure
    "tclx_unknown2" line 17) invoked from within "tclx_unknown2 $args"
    invoked from within
"uplevel 1 [tclx_unknown2 $args]..."
    invoked from within "return [uplevel 1 [tclx_unknown2 $args]]..."
    (procedure "unknown" line 8) invoked from within
"package require -exact BWidget 1.2.1"
    (file "/indigo-disk2/grass/grass/dist.mips-sgi-irix6.2/scripts/d.dm"
line 15)

Paul Kelly wrote:

I get this error when trying to run either d.m in GRASS 5.1 or d.dm in
5.0. I'm not too sure what it means. Using Tcl/Tk 8.2, compiled and
installed from source on IRIX.

Paul

Mapset <PERMANENT> in Location <sjpnew>
GRASS 5.0.3-cvs > d.dm
invalid command name "package"

It means that your "wish" program doesn't understand the "package"
command.

Check which version of "wish" is actually being used; Tcl 8.2 should
understand that command.

--
Glynn Clements <glynn.clements@virgin.net>

On Thu, 22 May 2003, Glynn Clements wrote:

Check which version of "wish" is actually being used; Tcl 8.2 should
understand that command.

Yes, that was the problem: an old version of wish in /usr/bin was being
used. I set the GRASS_WISH environment variable to the wish8.2 and it
works now, thank you

Paul