[GRASS5] 5.3 Cygwin, Tcl/Tk, NVIZ

Richard Greenwood rich at greenwoodmap.com
Sat Mar 6 12:56:31 EST 2004


A couple things, neither is good news.

1. Building 5.3 under Cygwin was successful with the 2004_01_03 
snapshot, however the 2004_01_10 and 2004_02_28 snapshots both fail in 
configure as follows:

checking whether to use Tcl/Tk... yes
checking for location of Tcl/Tk includes...
checking for tcl.h... yes
checking for tk.h... yes
checking Tcl version... 8.3
checking Tk version... 8.3
checking for location of Tcl/Tk library... /usr/local/lib/tcl8.3
checking for Tcl_Init in -ltcl... no
checking for Tcl_Init in -ltcl... no
checking for Tcl_Init in -ltcl8.3... no
checking for Tcl_Init in -ltcl8.3... no
checking for Tcl_Init in -ltcl83... no
checking for Tcl_Init in -ltcl83... no
configure: error: *** Unable to locate Tcl library.

Is it possible that something changed in the 5.3 source between
January 3 and 10 that would cause this?

Although 5.3 did build, when running the Tck/Tk interface, I am unable 
to close any of the dialog boxes. I do not consider it to run well 
enough to be worth distributing, but Michael Barton had expressed 
interest in a 5.3 binary distribution, and I am happy to make it 
available if he or anyone else would like it.
	
2. I have tried Glynn’s Cygwin NVWISH2.2 dated 3/3/2004 under both 5.0.3 
and 5.3. Three panels open momentarily before the error pasted at the 
bottom of this email. Comparing my Cygwin configuration with Glynn’s, a 
notable difference is that I am using Xfree 4.3 while Glynn has 4.2 and 
I have not been able to find 4.2 binary installations files to test with.

A couple very general comments: Until recently I have always run GRASS 
under Cygwin from the command prompt, rather than Tcl/Tk (and I have 
only run Nviz under Linux). From the command prompt GRASS has run 
entirely reliably and given me very good service, but these Tcl/Tk 
problems are beyond my current ability to contribute much assistance with.

==== 3/3/2004  NVWISH2.2 error message ====

Error in startup script: integer value too large to represent
     while executing
"expr int([lindex $range 0])"
     (procedure "mkcutplanePanel" line 55)
     invoked from within
"mk$name\Panel $path"
     (procedure "Nv_force_panel" line 10)
     invoked from within
"Nv_force_panel $i"
     (procedure "Nv_mkPanelMenu" line 12)
     invoked from within
"Nv_mkPanelMenu $Nv_(AREA).menu.panel"
     (procedure "Nv_makeGUI" line 87)
     invoked from within
"Nv_makeGUI .top"
     (file "/usr/local/grass5/etc/nviz2.2/scripts/nviz2.2_script" line 696)
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 -q -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 16)



-- 
Richard Greenwood
www.greenwoodmap.com




More information about the grass-dev mailing list