[winGRASS] winGRASS install failure

John Huddleston jhudd at lamar.colostate.edu
Tue Jan 8 07:33:31 EST 2002


Hi Markus,

It's the new setup.exe program for Cygwin.  It gives 
the user much more flexibility in the install process.
The file.exe program is under /bin.

No, I do not think you should add more complexity to
the Grass5 setup.  Plus, you probably have better things
to do with your time.

John Huddleston

-----Original Message-----
From: wingrass-admin at grass.itc.it [mailto:wingrass-admin at grass.itc.it]On
Behalf Of Markus Neteler
Sent: Tuesday, January 08, 2002 1:43 AM
To: Lorenzo Sandini
Cc: wingrass at grass.itc.it
Subject: Re: [winGRASS] winGRASS install failure


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