Details Ticket 1562


Comment | Reply | Take | Open


Serial Number 1562
Subject cygwin winGRASS installation error
Area wish
Queue grass
Requestors ethics_girl@yahoo.co.uk
Owner none
Status resolved
Last User Contact Sun Feb 2 21:35:33 2003 (6 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Wed Apr 26 19:31:32 2006 (2 yr ago)
Created Sun Feb 2 18:40:14 2003 (6 yr ago)

Transaction History Ticket 1562


Sun, Feb 2 2003 18:40:14    Request created by guest  
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


Sun, Feb 2 2003 21:35:33    Mail sent by paul-grass@stjohnspoint.co.uk  
Return-Path <paul-grass@stjohnspoint.co.uk>
Delivered-To grass-bugs@lists.intevation.de
Date Sun, 2 Feb 2003 20:35:24 +0000 (GMT)
From Paul Kelly <paul-grass@stjohnspoint.co.uk>
X-X-Sender paulk@agrippa.ukshells.co.uk
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #1562] (grass) cygwin winGRASS installation error
In-Reply-To <20030202174014.00B2813B2B@lists.intevation.de>
Message-ID <Pine.LNX.4.50.0302022026260.18823-100000@agrippa.ukshells.co.uk>
References <20030202174014.00B2813B2B@lists.intevation.de>
MIME-Version 1.0
Content-Type TEXT/PLAIN; charset=US-ASCII
X-Spam-Status No, hits=-3.8 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SPAM_PHRASE_01_02,USER_AGENT_PINE version=2.43
X-Spam-Level

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


Wed, Apr 26 2006 19:31:32    Status changed to resolved by msieczka  
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request