[GRASSLIST:10796] Re: awk not found on Mac osx, Repost
Michael Barton
michael.barton at asu.edu
Tue Mar 7 12:34:58 EST 2006
It sounds like a path problem. That is, it sounds like /usr/bin is not in
your default path, or at least the one active within the GRASS environment.
>From the GRASS command line, type
$PATH
(followed by return) and see if /usr/bin is in the list of folders.
Michael
______________________________
Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ 85287-2402
USA
voice: 480-965-6262; fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
From: Dave Kent <dkent at sasktel.net>
Date: Mon, 06 Mar 2006 23:11:40 -0600
To: <GRASSLIST at baylor.edu>
Subject: [GRASSLIST:10784] awk not found on Mac osx, Repost
I posted this some time ago. Markus responded with a change which has been
incorporated into CVS code.
However, this hasn't helped things for me as I still am getting a problem
with "awk required"
I am using 6.1 CVS with Lorenzo's binaries (06 March 06 ) on a macintosh OS
10.4.
When I try to add a database column I get:
v.db.addcol map=CondieHead layer=1 'columns=Elev varchar(10)'
csh: /sw/bin/init.csh: No such file or directory.
: awk required, please install awk/gawk first
This suggests awk is absent. When I invoke awk from the grass command line,
I get:
GRASS 6.1.cvs (SaskNad83UTM) > awk
Usage: awk [-f programfile | 'program'] [-Ffieldsep] [-v var=value] [files]
This suggests that awk is present as it lists the help line.
I have not installed awk/gawk. It is present in the Mac OSX installation at
/usr/bin/awk
Are there some environmental or other settings I need to set so that Grass
sees awk?
This also happens when opening a QGIS connection from the display manager.
Thanks
Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20060307/f134884d/attachment.html
More information about the grass-user
mailing list