[GRASS-dev] [GRASS GIS] #160: v.report WinGRASS incompatability issue

#160: v.report WinGRASS incompatability issue
-------------------------------------+--------------------------------------
Reporter: isaacullah | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: default | Version: 6.3.0
Keywords: v.report paste WinGRASS |
-------------------------------------+--------------------------------------
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.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/160&gt;
GRASS GIS <http://grass.osgeo.org>

#160: v.report WinGRASS incompatability issue
-------------------------+--------------------------------------------------
  Reporter: isaacullah | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: default | Version: 6.3.0
Resolution: | Keywords: v.report paste WinGRASS
-------------------------+--------------------------------------------------
Comment (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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/160#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#160: WinGRASS: v.report incompatability issue
-------------------------+--------------------------------------------------
  Reporter: isaacullah | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: default | Version: 6.3.0
Resolution: | Keywords: v.report paste WinGRASS
-------------------------+--------------------------------------------------
Changes (by 4everskiff):

  * summary: v.report WinGRASS incompatability issue => WinGRASS: v.report
              incompatability issue

Comment:

Replying to [comment:1 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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/160#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#160: WinGRASS: v.report incompatability issue
-------------------------+--------------------------------------------------
  Reporter: isaacullah | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 6.4.0
Component: default | Version: 6.3.0
Resolution: | Keywords: v.report paste WinGRASS
-------------------------+--------------------------------------------------
Comment (by 4everskiff):

Replying to [comment:2 4everskiff]:
> Replying to [comment:1 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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/160#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#160: WinGRASS: v.report incompatability issue
-------------------------+--------------------------------------------------
  Reporter: isaacullah | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: closed
  Priority: major | Milestone: 6.4.0
Component: default | Version: 6.3.0
Resolution: fixed | Keywords: v.report paste WinGRASS
-------------------------+--------------------------------------------------
Changes (by 4everskiff):

  * status: new => closed
  * resolution: => fixed

Comment:

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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/160#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>