[GRASS5] [bug #1505] (grass) Doesn't work the GUI in a IRIX 6.5

this bug's URL: http://intevation.de/rt/webrt?serial_num=1505
-------------------------------------------------------------------------

Subject: Doesn't work the GUI in a IRIX 6.5

Platform: Irix
grass obtained from: Trento Italy site
grass binary for platform: Downloaded precompiled Binaries
GRASS Version: 5.0pre5

The instalation its successfully, but when I tried to start de GUI send the mensage:

GRASS 5.0.0pre5 > tcltkgrass&
[1] 42874

Mapset <gilhc> in Location <modis>
GRASS 5.0.0pre5 > bad option "join": should be atime, dirname, executable, exists, extension, isdirectory, isfile, lstat, mtime, owned, readable, readlink, root, size, stat, tail, type, or writable
    while executing
"file join $env(GISBASE) $path "*""
    invoked from within
"set gispath [file join $env(GISBASE) $path "*"]..."
    invoked from within
"if { [regexp -- {filelist} $file] } {
        set gispath [file join $env(GISBASE) $path "*"]
        set files [glob $gispath]
        foreach file $files {
            lappend ..."
    (procedure "set_list" line 7)
    invoked from within
"set_list fonts filelist 1"
    invoked from within
"set fonts [set_list fonts filelist 1]..."
    (file "/usr/local/grass5/tcltkgrass/main/gui.tcl" line 1752)
    invoked from within
"source $env(TCLTKGRASSBASE)/main/gui.tcl"
    (file "/usr/local/grass5/bin/tcltkgrass" line 21)

[1] Exit 1 tcltkgrass

Mapset <gilhc> in Location <modis>
GRASS 5.0.0pre5 >

So, what can I do fixed the problem?

Thanks a lot.

Gilberto Hernandez

-------------------------------------------- Managed by Request Tracker

Request Tracker wrote:

The instalation its successfully, but when I tried to start de GUI
send the mensage:

GRASS 5.0.0pre5 > tcltkgrass&
[1] 42874

Mapset <gilhc> in Location <modis>
GRASS 5.0.0pre5 > bad option "join": should be atime, dirname, executable, exists, extension, isdirectory, isfile, lstat, mtime, owned, readable, readlink, root, size, stat, tail, type, or writable
    while executing
"file join $env(GISBASE) $path "*""

So, what can I do fixed the problem?

It appears that tcltkgrass requires a newer version of Tcl/Tk than
that which is installed on your system.

You could modify the file tcltkgrass/main/gui.tcl to eliminate the use
of "file join ...". For example, rewriting:

  set gispath [file join $env(GISBASE) $path "*"]
as:
  set gispath "$env(GISBASE)/$path/*"

There are three occurrences of "file join ..." in gui.tcl; there is
another in gis_set.tcl, but that is unlikely to be used.

However, there could be other reasons why tcltkgrass might not work
with an older version of Tcl/Tk.

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