[GRASSLIST:5557] Re: cygwin installation

Miha STAUT mihastaut at hotmail.com
Fri Feb 14 16:52:13 EST 2003


>Miha STAUT wrote:
>
> > What was wrong in this installation on Windows XP with Cygwin on it?
> > What does this mean:
>
> > $ sh grass5_i686-pc-cygwin_install.sh
> > grass5.0.0pre3_i686-pc-cygwin_bin.tar.gz
> >
> > GRASS GIS 5 binary package installation tool
> >
> > [: None: bad number
> > Using gunzip decompressor...
>
>The problem is most likely because the expression:
>
>	SIZE=`ls -l $PACKAGE_NAME | tr -s " " | cut -d" " -f5`
>
>results in SIZE being set to "None". If so, the message will be
>generated by the command:
>
>	if [ $SIZE -ne $TAR_FILE_SIZE ] ; then
>
>as the value before "-ne" must be a number, but "None" isn't a valid
>number.
>
>As for exactly why the error occurs, I suspect that one of the Cygwin
>tools (probably "ls") isn't generating output in the format which the
>script is assuming.
>
>Incidentally, pre3 is quite old; a lot has been fixed since then.
>
>--
>Glynn Clements <glynn.clements at virgin.net>

Thanks Glynn,

The binaries were downloaded days ago from 
http://grass.itc.it/grass5/binary/windows_cygnus/. OK I am not really an 
expert in cygwin installations. What you suggest to do? Reinstall the ls 
package (maybe a new version)?

Miha Staut

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail




More information about the grass-user mailing list