[GRASS5] [bug #1562] (grass) cygwin winGRASS installation error

this bug's URL: http://intevation.de/rt/webrt?serial_num=1562
-------------------------------------------------------------------------

Subject: cygwin winGRASS installation error

Platform: WindowsNT/2000/XP
grass obtained from: Trento Italy site
grass binary for platform: Downloaded precompiled Binaries
GRASS Version: grass5_0_0pre3

I am trying to install GRASS 5.0 on cygwin according to the instructions at: http://grass.itc.it/grass5/binary/windows_cygnus/cygwin_grass50bininstall.html However, I get this error message:

Owner@HEWLETT-75HK4KA /usr/tmp
$ ./grass5_i686-pc-cygwin_install.sh grass5_0_0pre3_i686-pc-cygwin_bin_tar.gz

GRASS GIS 5 binary package installation tool

ERROR: You need the GRASS binary package in .tar.gz compression
or .tar.bz2.

Followed advice in thread: http://grass.itc.it/pipermail/wingrass/2002-January/000596.html i.e. files are in the right directory:

Owner@HEWLETT-75HK4KA /usr/tmp
$ ls -l grass5_i686-pc-cygwin_install.sh
-rwx------ 1 Owner None 12754 Feb 2 00:47 grass5_i686-pc-cygwin_install.sh

Owner@HEWLETT-75HK4KA /usr/tmp
$ ls -l grass5_0_0pre3_i686-pc-cygwin_bin_tar.gz
-rwx------ 1 Owner None 32053305 Feb 2 04:18 grass5_0_0pre3_i686-pc-cygwin_bin_tar.gz

Then: sh -x ./grass5_i686-pc-cygwin_install.sh grass5_0_0pre3_i686-pc-cygwin_bin_tar.gz

I did need to instal file.exe (using cygwin setup.exe); sh -x report (see below) now shows different problem. I do not know how to interpret this, what should I do next?

Thank you for any help you can offer.

Charlotte

detailed report:

Owner@HEWLETT-75HK4KA /usr/tmp
$ sh -x ./grass5_i686-pc-cygwin_install.sh grass5_0_0pre3_i686-pc-cygwin_bin_tar.gz
+ TEST_STR=executable
+ NAME_VER=5
+ ORIG_BASE_DIR=/usr/local/grass5
+ TAR_FILE_SIZE=32053305
+ BINDIR=/usr/local/bin
+ DESTDIR=/usr/local/grass5
+ UNINSTALL=grass5uninstall.sh
+ [ -z executable ]
+ [ ! grass5_0_0pre3_i686-pc-cygwin_bin_tar.gz ]
+ [ ]
+ [ ]
+ echo

+ echo GRASS GIS 5 binary package installation tool
GRASS GIS 5 binary package installation tool
+ echo

+ [ ! -f grass5_0_0pre3_i686-pc-cygwin_bin_tar.gz ]
+ pwd
+ CURR_DIR=/usr/tmp
+ basename grass5_0_0pre3_i686-pc-cygwin_bin_tar.gz
+ PACKAGE_NAME=grass5_0_0pre3_i686-pc-cygwin_bin_tar.gz
+ dirname grass5_0_0pre3_i686-pc-cygwin_bin_tar.gz
+ PACKAGE_DIR=.
+ cd .
+ pwd
+ PACKAGE_DIR=/usr/tmp
+ echo grass5_0_0pre3_i686-pc-cygwin_bin_tar.gz
+ grep \.tar\.gz
+ [ 1 -eq 0 ]
+ echo grass5_0_0pre3_i686-pc-cygwin_bin_tar.gz
+ grep \.tar\.bz2
+ [ 1 -eq 0 ]
+ 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 .tar.bz2.
or .tar.bz2.
+ echo

+ exit

-------------------------------------------- Managed by Request Tracker

On Sun, 2 Feb 2003, Request Tracker wrote:

this bug's URL: http://intevation.de/rt/webrt?serial_num=1562
-------------------------------------------------------------------------

Subject: cygwin winGRASS installation error

Platform: WindowsNT/2000/XP
grass obtained from: Trento Italy site
grass binary for platform: Downloaded precompiled Binaries
GRASS Version: grass5_0_0pre3

I am trying to install GRASS 5.0 on cygwin according to the instructions at: http://grass.itc.it/grass5/binary/windows_cygnus/cygwin_grass50bininstall.html However, I get this error message:

Owner@HEWLETT-75HK4KA /usr/tmp
$ ./grass5_i686-pc-cygwin_install.sh grass5_0_0pre3_i686-pc-cygwin_bin_tar.gz

GRASS GIS 5 binary package installation tool

ERROR: You need the GRASS binary package in .tar.gz compression
or .tar.bz2.

This looks like the web browser has converted all the full stops in the
filename except the last one to underscores. The install script checks the
file name to see if it contains '.tar.gz', but it has '_tar.gz', so it
fails.

You can rename the file so it ends in .tar.gz to get around this, but I
commited a fix to CVS (to the install script) that should avoid the problem
in the future (well whenever someone compiles new Cygwin binaries). It
just looks now for 'tar.gz' instead.

Paul