[GRASSLIST:5377] Re: Mac 10.2.3 install problems

which grass
which grass5
command not found

Kostas theoflis
On Sunday, January 26, 2003, at 05:03 pm, BABA Yoshihiko wrote:

edmund wrote:

I use the source command
I add X11R6/bin to my path.

You mean /usr/X11R6/bin ?

But when i run grass5 i get the message command not found
Any help, please?

Try
locate grass
which grass

and add the directory that contains grass to PATH.

--
BABA Yoshihiko

Where did you install Grass? In /usr/local/bin? if so try running

/usr/local/bin/grass5

(or the full path to wherever you installed grass)

and see whether that works. If so, then you've got to change your path variable. I've never fully understood where MacOSX stores all its path variables; there are various init scripts, including ~/.tchrc (where I think my path is set:

setenv PATH /usr/X11R6/bin:/usr/local/bin:$PATH

But as I remember there are other init files elsewhere in the system.

Good luck,

Nick Cahill

I downloaded the latest binary as well because my favourite Fink didn't work. I extracted it and moved the whole grass5 directory to /usr/local and made a symbolic link as /usr/local/grass5, and it finally recognised the init script.

Nick Cahill wrote:

Where did you install Grass? In /usr/local/bin? if so try running

--
BABA Yoshihiko