Maybe some of this will help:<br><br>1. Make sure your .bash_profile is loaded. Type "echo $SACAUX" to see if the variable is known. If it's not then your bash_profile isn't loaded or the syntax is wrong. You can load it manually: "source ~/.bash_profile", no need to reboot.
<br>My syntax looks like this:<br>export SACAUX='/seismo/sac/aux' (notice the '...')<br>2. Also make sure the path is ok: "echo $PATH", but this should be alright, because it seems to find the sac binary. <br>What version are you trying to run?
<br><br>Cheers,<br>Andreas<br><br><div><span class="gmail_quote">On 9/14/06, <b class="gmail_sendername">Hadi Ghofrani</b> <<a href="mailto:ghofrani@seismo.um.ac.ir">ghofrani@seismo.um.ac.ir</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div bgcolor="#ffffff">
<div><font face="Arial" size="2">Dear Sir</font></div>
<div><font face="Arial" size="2">I'm a novice user with Linux OS. I do following in
Linux Redhat 9.0:</font></div>
<div><font size="2"><font face="Arial">1. Extract the SAC zip, which contains
aux, bin, lib and utils folders, file in
<strong>/usr/local</strong></font></font></div>
<div><font face="Arial" size="2">2. Add following lines
to <strong>.bash_profile</strong> file:</font></div>
<div><font face="Arial" size="2"> <strong>- export
SACAUX=/usr/local/SAC/aux</strong></font></div>
<div><font face="Arial" size="2"> <strong>- export
SACGRAPHICS=xwindows</strong></font></div>
<div><font face="Arial" size="2"> <strong>-
PATH=$PATH:/usr/local/SAC/bin</strong></font></div>
<div><font face="Arial" size="2">3. Then after reboot write <strong>sac </strong>to
execute the program.</font></div>
<div><font face="Arial" size="2">But, the "cannot ececute binary file" massage
appears.</font></div>
<div><font face="Arial" size="2">I appreciated it very much if you could advise how
can I run sac on my PC. </font>
<p style="margin: 0cm 0cm 0pt; text-align: justify;"><font face="Arial" size="2">Thanks your assistance in advance.</font></p>
<p style="margin: 0cm 0cm 0pt;"><font face="Arial" size="2">Best
regards</font></p>
<p style="margin: 0cm 0cm 0pt;"><font face="Arial" size="2">Hadi
Ghofrani</font></p></div></div>
</div><br>_______________________________________________<br>sac-help mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:sac-help@iris.washington.edu">sac-help@iris.washington.edu</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.iris.washington.edu/mailman/listinfo/sac-help" target="_blank">http://www.iris.washington.edu/mailman/listinfo/sac-help</a><br><br><br></blockquote>
</div><br>