Ticket #160 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

WinGRASS: v.report incompatability issue

Reported by: isaacullah Assigned to: grass-dev@lists.osgeo.org
Priority: major Milestone: 6.4.0
Component: default Version: 6.3.0
Keywords: v.report paste WinGRASS Cc:
Platform: CPU:

Description

v.report currently will not function in WinGRASS. I have determined that this is because it utilizes the bash command "paste", which is not supported in the Msys shell (ie. there is no such program as paste.exe in the Mysys/bin directory). I cannot think of an appropriate replacement for the way "paste" is being used in the current script, but I'm sure that some workaround can be discovered.

Change History

(follow-up: ↓ 2 ) 05/12/08 09:52:10 changed by mlennert

paste is part of coreutils which is available for msys, and which should IMHO be installed since it contains elementary programs such as cat, cut, paste, rm, cp, etc, which I wouldn't be surprised to find in other scripts.

Until this is done, the coreutils package for MSYS 1.0.11 can be obtained here: http://sourceforge.net/project/showfiles.php?group_id=2435

Moritz

(in reply to: ↑ 1 ; follow-up: ↓ 3 ) 05/12/08 10:03:14 changed by 4everskiff

  • summary changed from v.report WinGRASS incompatability issue to WinGRASS: v.report incompatability issue.

Replying to mlennert:

paste is part of coreutils which is available for msys, and which should IMHO be installed since it contains elementary programs such as cat, cut, paste, rm, cp, etc, which I wouldn't be surprised to find in other scripts. Until this is done, the coreutils package for MSYS 1.0.11 can be obtained here: http://sourceforge.net/project/showfiles.php?group_id=2435 Moritz

MSYS is already installed by default in WinGRASS.

Marco

(in reply to: ↑ 2 ) 05/12/08 10:05:49 changed by 4everskiff

Replying to 4everskiff:

Replying to mlennert:

paste is part of coreutils which is available for msys, and which should IMHO be installed since it contains elementary programs such as cat, cut, paste, rm, cp, etc, which I wouldn't be surprised to find in other scripts. Until this is done, the coreutils package for MSYS 1.0.11 can be obtained here: http://sourceforge.net/project/showfiles.php?group_id=2435 Moritz

MSYS is already installed by default in WinGRASS. Marco

It would be good to collect some usefull utils not contained in the standard MSYS release (such as paste) to be included in the next WinGRASS releases.

Marco

05/12/08 12:00:16 changed by 4everskiff

  • status changed from new to closed.
  • resolution set to fixed.

I already did the job on my local machine. All the MSYS coreutils will be added to the next WinGRASS release.

This done, I checked the v.report module using the North-Carolina sample database: it worked fine for me.

Until the next release will be published, do as follows:

Download the coreutils package from here: http://downloads.sourceforge.net/mingw/coreutils-5.97-MSYS-1.0.11-snapshot.tar.bz2

Unpack it to a temporary folder, then copy all the content of the coreutils-5.97 folder to %your GRASS installation path%\msys

Marco