Thread: installing sac on a Mac OS X 10.10.3

Started: 2015-07-01 00:46:58
Last activity: 2015-07-01 12:11:50
Topics: SAC Help
Phillips-Alonge, Kristin Eileen
2015-07-01 00:46:58
I am trying to install sac on a Mac os x 10.10.3 (Yosemite). I know that the distribution was built on OS 10.6.8 but runs on OS10.7, 10.8, and 10.9. Has anyone tried to build on 10.10? I am fairly new to Mac and am trying to set up the environmental variables for sac installation. There appears to be some changes for how to set up environmental variables for 10.10.

I edited a preexisting file called .bash_profile and added the following lines:


export SACHOME=/Users/kephill/Documents/sac

. ${SACHOME}/bin/sacinit.sh

launchctl setenv SACHOME $SACHOME

export SACAUX=$SACHOME/aux

launchctl setenv SACAUX $SACAUX



As per the readme instructions after saving and exiting I entered

. ~/.bash_profile

And also tried source ~/.bash_profile


However SACHOME still does not appear to be set up as an environmental variable.


Please let me know if this distribution has been built successfully on an OS10.10 and how best to set up environmental variables for Mac OS Yosemite. Thanks!


Kristin


  • Milton Plasencia
    2015-07-01 12:11:50
    Hi Kristin,

    I not build on 10.10. but sac binary run in Yosemite.
    to set the environment variables only do the following:

    In your ~/.bash_profile delete the lines
    launchctl setenv SACHOME $SACHOME
    export SACAUX=3D$SACHOME/aux
    launchctl setenv SACAUX $SACAUX

    and leave
    . ${SACHOME}/bin/sacinit.sh

    Then you edit the sacinit.sh file and change the variable SACHOME
    to point where live the sac, so the line must be, where =
    $HOME=3D/Users/kephhill
    export SACHOME=3D$HOME/Documents/sac

    Then source the ~/.bash_profile
    and all must be right.

    HTH,

    Milton
    Attachments
Page built 06:28:20 | v.b'ea7a92