[GRASSLIST:1244] Re: grass5beta10 start

Markus Neteler neteler at geog.uni-hannover.de
Sat Dec 9 07:35:44 EST 2000


On Sat, Dec 09, 2000 at 12:01:22PM +0100, Philippe JAOUEN wrote:
> Markus Neteler a écrit :
> > 
> > Dear GRASS Community,
> > 
> > it seems we have fixed the grass5 install problem.
> > A new package is available:
> > GRASS 5.0beta10
> > 
> > Due to a few changes required we had to increase the version
> > number.
> > 
> > The new Linux package/install script is available at:
> > http://www.geog.uni-hannover.de/grass/grass5/binary/linux/
> > 
> > So: get the new binary package (sorry, it's required to
> > transfer again in case you have downloaded beta9 already)
> > and get grass5install.sh
> > 
> > Installation:
> > 
> >  sh grass5install.sh grass5.0beta10_Linux_bin.tar.gz
> > 
> >  (installs to /usr/local/grass5/)
> > 
> 
> pjaouen at sylvie:~ > grass5
> Starting GRASS ...
> Error in startup script: wrong # args: should be "string compare string1
> string2"
>     while executing
> "string compare -nocase $ver "8.0""
>     (file "/usr/local/grass5/tcltkgrass/script/gis_set.tcl" line 706)
> /usr/local/grass5/etc/Init.sh: GISDBASE: parameter null or not set
> pjaouen at sylvie:~ > rpm -q tcl
> tcl-8.0.5-57
> pjaouen at sylvie:~ > rpm -q tk
> tk-8.0.5-57                                                              
> 
> grass5.0beta8 was correct
> 
> -- 
Hi,

this is a small problem with old tcl/tk 8.0. To fix it:

Justin Hickey wrote:
If you are using the latest release of GRASS (beta10), you may receive
the following error message:

Error in startup script: wrong # args: should be "string compare string1
string2" 
   while executing
"string compare -nocase $ver "8.0""
   (file "/usr/local/grass5b10/tcltkgrass/script/gis_set.tcl" line 706)

This occurs because the -nocase option to string compare is a recent
addition to Tcl/Tk, so older versions of Tcl/Tk do not support this
option. The simple fix for this error is to simply edit the file
tcltkgrass/script/gis_set.tcl and remove the -nocase option on line 706.
After this fix, grass5 should run properly.
----

Hope this helps

 Markus




More information about the grass-user mailing list