Thread: Installation on Mac running 10.6.8

Started: 2014-04-15 22:48:17
Last activity: 2014-04-17 17:03:17
Topics: SAC Help
Nicholas Cline
2014-04-15 22:48:17
Hello all,

I am hoping that someone can walk me through the installation process. I
am running OS 10.6.8 and I've gone through the steps in the README file
several times, but I haven't had any luck completing the installation.

I always get the error:

-bash: sac: command not found or

or

ERROR: Environmental variable SACAUX not defined.

Many thanks,
Nicholas Cline

  • Milton Plasencia
    2014-04-16 12:47:55

    Hi Nicholas,

    in your ~/.bash_profile or ~/.profile you can paste the following:
    ----------------
    # SAC Environment variables
    export SACHOME=$HOME/Soft/sac # change to your sac dir.
    export PATH=$PATH:$SACHOME/bin
    export SACAUX=$SACHOME/aux
    export SACLIB=$SACHOME/lib/sacio.a
    export SAC_USE_DATABASE=0
    export SAC_PPK_LARGE_CROSSHAIRS=1
    #alias sac='$HOME/Soft/sac/bin/sac $HOME/bin/sac.init'
    -------------------------------------------------------------

    the variable SACHOME must to point to the dir where you are untared
    the distribution (or where you want sac live) in your system.

    Finally source the ~/.bash_profile and all must be OK..

    HTH,

    Milton


    * * * * * * * * * * * * * * * * * * * * * * *
    Milton P. PLASENCIA LINARES

    Centro di Ricerche Sismologiche (CRS)
    OGS - Istituto Nazionale di Oceanografia e di Geofisica Sperimentale

    Borgo Grotta Gigante 42/C
    (34010) Sgonico - Trieste - Italia
    Tel: +39 040 2140 141 (Udine)
    Tel: +39 040 2140 256 (Trieste)
    Cel.: +39 331 6481 935

    E-mail: mplasencia<at>inogs.it

    ASAIN (Antarctic Seismographic Argentinean Italian Network)
    *********************************











    On Apr 15, 2014, at 10:48 PM, Nicholas Cline <ngcline<at>gmail.com> wrote:

    Hello all,

    I am hoping that someone can walk me through the installation process. I am running OS 10.6.8 and I've gone through the steps in the README file several times, but I haven't had any luck completing the installation.

    I always get the error:

    -bash: sac: command not found or

    or

    ERROR: Environmental variable SACAUX not defined.

    Many thanks,
    Nicholas Cline
    _______________________________________________
    sac-help mailing list
    sac-help<at>iris.washington.edu
    http://www.iris.washington.edu/mailman/listinfo/sac-help


    • Nicholas Cline
      2014-04-17 17:03:17
      Thank you all for the kind help. I have everything up and running!

      Best,
      Nick


      On Tue, Apr 15, 2014 at 10:47 PM, Milton Plasencia <mpplasencia<at>gmail.com>wrote:


      Hi Nicholas,

      in your ~/.bash_profile or ~/.profile you can paste the following:
      ----------------
      # SAC Environment variables
      export SACHOME=$HOME/Soft/sac # change to your sac dir.
      export PATH=$PATH:$SACHOME/bin
      export SACAUX=$SACHOME/aux
      export SACLIB=$SACHOME/lib/sacio.a
      export SAC_USE_DATABASE=0
      export SAC_PPK_LARGE_CROSSHAIRS=1
      #alias sac='$HOME/Soft/sac/bin/sac $HOME/bin/sac.init'
      -------------------------------------------------------------

      the variable SACHOME must to point to the dir where you are untared
      the distribution (or where you want sac live) in your system.

      Finally source the ~/.bash_profile and all must be OK..

      HTH,

      Milton


      * * * * * * * * * * * * * * * * * * * * * * *
      Milton P. PLASENCIA LINARES

      Centro di Ricerche Sismologiche (CRS)
      OGS - Istituto Nazionale di Oceanografia e di Geofisica Sperimentale

      Borgo Grotta Gigante 42/C
      (34010) Sgonico - Trieste - Italia
      Tel: +39 040 2140 141 (Udine)
      Tel: +39 040 2140 256 (Trieste)
      Cel.: +39 331 6481 935

      E-mail: mplasencia<at>inogs.it

      ASAIN (Antarctic Seismographic Argentinean Italian Network)
      *********************************











      On Apr 15, 2014, at 10:48 PM, Nicholas Cline <ngcline<at>gmail.com> wrote:

      Hello all,

      I am hoping that someone can walk me through the installation process. I
      am running OS 10.6.8 and I've gone through the steps in the README file
      several times, but I haven't had any luck completing the installation.

      I always get the error:

      -bash: sac: command not found or

      or

      ERROR: Environmental variable SACAUX not defined.

      Many thanks,
      Nicholas Cline
      _______________________________________________
      sac-help mailing list
      sac-help<at>iris.washington.edu
      http://www.iris.washington.edu/mailman/listinfo/sac-help




02:06:23 v.01697673