Thread: Re: Installation on Mac OSX 10.9 & Environment Setup

Started: 2014-07-29 20:10:26
Last activity: 2014-07-29 20:10:26
Topics: SAC Help
Shane Ingate
2014-07-29 20:10:26
After each editing session of your .bashrc file, you need to source it
to make it's contents current. I.e.:
% source ~/.bashrc

Alternately, log out and/or open a new shell which forces a read of the
.bashrc file.

The way I read your note is that you tried running SAC without sourcing
the freshly edited .bashrc file.

S.


--
Shane Ingate, Ph.D.
New Mexico Tech Seismological Observatory
Earth and Environmental Science Dept.
New Mexico Tech
801 Leroy Place
Socorro, NM 87801

web: http://www.ees.nmt.edu/outside/NMTSO/
phone: (575) 835-6611
fax: (575) 835-6436
email: singate<at>ees.nmt.edu
skype: shane_in_the_field

On Jul 29, 2014, at 6:50 PM, Gregory (Greg) Brenn
<grbrenn<at>crimson.ua.edu> wrote:

> Hello,
>
> I am attempting to install SAC onto my MAC OSX 10.9.4, and I am
having a little bit of trouble with the environment setup. I will
explain what I've done thus far:
>
> I downloaded the sac-101.6a-mac_x86_64.tar.gz file and dragged it to
my Desktop, where I executed the command in terminal:
>
> $ tar -xzf sac-101.6a-mac_x86_64.tar.gz
>
> Then a /sac subdirectory was created on my Desktop. Everything is
going well so far.
>
> Then, I go into the README folder and get to the Environment Setup
section, and this is where I get confused (neophyte Mac User). I am
wondering how to do the following, as stated in README:
>
> "The system has to be able to find the binaries and scripts that are in
> SACHOME/bin, and the environmental variable SACAUX must be set to
SACHOME/aux."
>
> Additionally, I am working in Terminal, bash, and I edited the
~/.bashrc file. So that step is completed. Then I go into terminal,
and type $ sac, and not to my surprise, the sac command isn't found.
So, I am guessing that the environmental variable SACAUX was not set to
SACHOME/AUX, and I am wondering how to do that?
>
> Thank you!

06:07:40 v.9bc884e1