[GRASS-dev] Re: missing awk in WinGRASS
Michael Barton
michael.barton at asu.edu
Wed Jan 23 14:35:43 EST 2008
OK. We can do that. Thanks.
Is msys needed for any other aspects of GRASS -- i.e., is it required
to run it? Or is it only needed if you want to do the scripts?
Michael
______________________________
Michael Barton, Professor
Professor of Anthropology
Director of Graduate Studies
School of Human Diversity & Social Change
Center for Social Dynamics & Complexity
Arizona State University
Tempe, AZ 85287-2402
USA
voice: 480-965-6262; fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
On Jan 23, 2008, at 12:37 PM, Moritz Lennert wrote:
> On 23/01/08 17:32, Michael Barton wrote:
>> Hmmm.
>> Looking in the bin directory in msys, there IS an awk and gawk.exe.
>> So why would scripts complain about not having it? Is there
>> something in the batch file that needs to be set so that GRASS
>> knows that it's there?
>
> As it says in the readme: "in order for shell scripts to work, you
> will have to add msys' lib and bin directories to your path in the
> grass63.bat file."
>
> Concretely this means uncommenting (i.e. deleting the 'rem') the
> last of the following lines in grass63.bat and adapting it to your
> installation
>
> rem Path to utilities used by some scripts, such as awk, sed, etc
> rem (adjust to where you installed msys, gnuwin32, or other similar
> utilises)
> rem set set PATH=%PATH%;c:\msys\1.0\bin;c:\msys\1.0\lib
>
> Moritz
More information about the grass-dev
mailing list