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.
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'
On Tue, Sep 26, 2000 at 10:27:47AM -0400, Eric Mitchell wrote:
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
Hi all,
I have checked in a new startup script for tcltkgrass which searches
for wish8.x in current $PATHs. It seems to be working (at least for
me). Please test on your installation:
cvs update src/tcltkgrass
cd src/tcltkgrass; gmake5
Probably it needs more modifications, actually it is quite simple.
I will do the same for NVIZ.
Yours
Markus
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'