[winGRASS] winGRASS install failure

Markus Neteler neteler at itc.it
Tue Jan 8 03:42:54 EST 2002


Thanks, Lorenzo,

here we are:

On Tue, Jan 08, 2002 at 01:01:43AM +0200, Lorenzo Sandini wrote:
> > Please try
> >
> > ls -l grass5.0.0pre2_i686-pc-cygwin_bin.tar.gz
> > ls -l grass5install.sh
> > #both files present here?
> > #If yes:
> > sh -x ./grass5install.sh grass5.0.0pre2_i686-pc-cygwin_bin.tar.gz
> >
> > this should be more chatty and tell you something about the problem.
> > Let us know... (copy-paste)
> 
> OK Here you go...
> 
> $ ls -l grass5install.sh
> -rwxr-xr-x    1 BroKnBon None        13025 Jan  7 20:47 grass5install.sh
> 
> $ ls -l grass5.0.0pre2_i686-pc-cygwin_bin.tar.gz
> -rw-r--r--    1 BroKnBon None     31519760 Jan  7 21:55
> grass5.0.0pre2_i686-pc-cygwin_bin.tar.gz
> 
> Both files are there...

yep.

> $ sh -x ./grass5install.sh grass5.0.0pre2_i686-pc-cygwin_bin.tar.gz
[...]
> + PACKAGE_DIR=/usr/tmp
> + echo grass5.0.0pre2_i686-pc-cygwin_bin.tar.gz
> + grep bz2
> + [ 1 -eq 1 ]
> + file grass5.0.0pre2_i686-pc-cygwin_bin.tar.gz
> file: not found

here is the problem. The program "file" is required to identify
the package type (if gzip or bzip).

> + PACKAGETYPE=
> + echo
> + grep gzip
> + [ 1 -eq 1 ]
> + echo ERROR: You need the GRASS binary package in .tar.gz compression
> ERROR: You need the GRASS binary package in .tar.gz compression
> + echo or bz2.
> or bz2.
> + echo
> 
> So where is the error ?
 
The error is that "file" program is not present on your system. 
Probably we have to add a test for this and/or detect the 
package type in a different way on Windows. 
That's only a question of the install script which can
be easily fixed. We'll provide an updated script asap.

Or (question to those being more experienced with cygwin),
can the "file" program be installed?

Markus



More information about the grass-windows mailing list