[GRASS5] [david_finlayson@yahoo.com: Bugreport GRASS 5] Tcl/Tk 8.x

Eric Mitchell emitchell at altaira.com
Tue Sep 26 10:27:47 EDT 2000


Markus Neteler wrote:
> 
> Hi all,
> 
> find attached another bug report concenring Tcl/Tk.
> The problem of different Tcl/tK versions we have to
> fix for the stable release.
> 
> a) source code:
>  I suggest that the "configure" checks for the current
>  tcl/tk version and writes this to src/CMD/head/head
> 
> b) binary code:
>    - tcltkgrass and
>    - nviz2.2
>    require to have an "intelligent" version search engine
>    to detect the proper "wish" file >=wish8.0
> 
> Does anyone have a clever code already available?

#!/bin/sh
# restart this script with wish \
	exec wish $0 "$@"

As for picking an alternate wish, you'd have to embed a shell 
script in the tcl code on alternate lines, using the same
continued comment trick.  Tcl interprets the second and 
third line in that example as a single comment, due to the
line continuation character, '\'.  /bin/sh treats it as
one comment line, and one script line.  Another option is
having autoconf check for wish, wish8.2, wish8.0, etc. and
generate tcltkgrass from tcltkgrass.in, etc.

Not that any of this helps on Win32.


-- 
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
| Eric B. Mitchell         mailto:emitchell at altaira.com |
| tel: (301) 809 - 3534    Altair Aerospace Corporation |
| tel: (800) 7 - ALTAIR    4201 Northview Dr. Suite 410 |
| fax: (301) 805 - 8122    Bowie, MD  20716             |
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
              ,___
          /"\  / o=\  /"""---===/
         /   \_/  \__/   ---===/ 
         |    //\   || /""TT""/ //\   || ||""\
         |   //  \  ||    ||   //  \  || ||__/
         |  //--==\ |L--/ ||  //--==\ || || "=,
          \      ---===/
           \____---===/

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list