[GRASSLIST:3142] NVIZ and TK on Mac OS X

Nick Cahill ndcahill at facstaff.wisc.edu
Fri Feb 15 10:21:09 EST 2002


This is not specifically a GRASS question, but perhaps someone here can help.

I recently installed Grass 5 pre3 precompiled binaries on Mac OSX, 
and am getting an error when I start NVIZ:


  tsdptr 4729744 datakey 4729744
  start search mainPtr 0
  called create main window
  assigning interp 4700480
  tsd is 4729744 datakey 4729744
Application initialization failed: Can't find a usable tk.tcl in the 
following d
irectories:
     /System/Library/Tcl/tk8.3 /usr/local/grass5/etc/lib/tk8.3 
/usr/local/grass5/
lib/tk8.3 /usr/local/grass5/etc/library /usr/local/grass5/library 
/usr/local/gra
ss5/tk8.3/library /usr/local/tk8.3/library



This probably means that tk wasn't installed properly.

Error in startup script: can't read "src_boot": no such variable
     while executing
"source $src_boot/etc/nviz2.2/scripts/config.tcl"
     (file "/usr/local/grass5/etc/nviz2.2/scripts/nviz2.2_script" line 18)
child process exited abnormally
     while executing
"exec /usr/local/grass5/etc/nviz2.2/NVWISH2.2 -f 
/usr/local/grass5/etc/nviz2.2/s
cripts/nviz2.2_script el=surf.12.7.40.0.rescaled -name NVIZ >&@stdout"
     ("eval" body line 1)
     invoked from within
"eval exec $env(GISBASE)/etc/nviz2.2/NVWISH2.2 -f 
$env(GISBASE)/etc/nviz2.2/scri
pts/nviz2.2_script $argv -name NVIZ >&@stdout"
     invoked from within
"if {$argv == ""} {
#no arguments
eval exec $env(GISBASE)/etc/nviz2.2/NVWISH2.2 -f 
$env(GISBASE)/etc/nviz2.2/scrip
ts/nviz2.2_script -name NVIZ >&@stdo..."
     (file "/usr/local/grass5/bin/nviz" line 13)

Finished - press RETURN or ENTER to continue

There is, however, an installation of tk8.3 at /usr/X11R6/lib. Where 
in Mac OSX do can I tell the system to look here for tk8.3? I don't 
see it in any of the GRASS startup scripts; I think it's somewhere in 
OSX.

Many thanks for any help you can offer,

Nick Cahill
Univ. of Wisconsin
Dept. of Art History

-- 



More information about the grass-user mailing list