[GRASS5] CygWIN: compilation of current CVS HEAD?

Markus Neteler neteler at itc.it
Thu Feb 6 03:13:17 EST 2003


On Thu, Feb 06, 2003 at 02:49:56AM +0000, Glynn Clements wrote:
> Markus Neteler wrote:
> 
> > today we tried to compile the current CVS HEAD on Win2K/Cygwin
> > and faced some strange problems happening in
> > src/CMD/generic/gmake.sh
> > 
> > We used
> > sh -x /usr/local/bin/gmake5
> > to see the problem.
> > Probably it is related to the latest change for .cc files?
> > 
> > Problem:
> > The 'sort -u' in row 285 says "file not found".
> 
> Is GNU "sort" installed? Does it appear first in the path?
> 
> Otherwise, you may end up running the DOS sort.exe, which will try to
> sort the file called "-u", and complain.

This will be the reason - in parallel we found this solution

    sort | uniq |
is nicer than
    sort -u

Maybe the suggestion is more portable? It's not my machine, so I don't
know right now if there is a DOS 'uniq.exe'.

 Markus




More information about the grass-dev mailing list