How To Setup An OS X CASA Development Computer
This page describes how to install CASA 3rd party packages required for CASA development.
Status: UNDER DEVELOPMENT
- Development and test on "vanilla" OS X 10.7.
- CASA builds on OS X 10.7. Not tested elsewhere yet.
Warnings
- CASA development on OS X requires an x86_64 CPU and OS X 10.7.
- Installing pre-built CASA 3rd party packages will break existing default installations of MacPorts. See CAS-5958.
- Either move /opt/local some where else and install CASA 3rd party packages as described below, or
- build CASA 3rd party packages into your existing installation of MacPorts.
- Installing pre-built CASA 3rd party packages will break NRAO Managed Software. See CAS-5958.
- Either move /opt/local some where else and install CASA 3rd party packages as described below, or
- build CASA 3rd party packages into your existing installation of MacPorts.
- This is NOT tested with NRAO Managed Software! I have low confidence this will work.
Before You Begin
- You must have access to root on the computer to be setup.
- You must install the latest version of Xcode for your OS X version, and you must install the Xcode command line tools.
Download Pre-built CASA 3rd Party Packages
Depending on your OS X version, download the latest file with the name of the form casa-3rd-party-packages-os-x-10.7-x86_64-YYYY-MM-DD.tar.gz from
Install Pre-built CASA 3rd Party Packages
As root, with the current 3rd party tar package
mkdir -p /opt/casa
cd /opt/casa
curl -o casa-3rd-party-packages-os-x-10.7-x86_64-2014-05-09.tar.gz https://svn.cv.nrao.edu/casa/osx_distro/developers/10.7/casa-3rd-party-packages-os-x-10.7-x86_64-2014-05-09.tar.gz
gnutar fpvx casa-3rd-party-packages-os-x-10.7-x86_64-2014-05-09.tar.gz
You will see a new directory /opt/casa/01, containing the CASA 3rd party packages.
Setup Your User Account
To use these CASA 3rd Party Packages in your work, add
export PATH="/opt/casa/01/bin:$PATH"
Or the equivalent for your shell to your shell interactive environment file. In Bash, this will be .bashrc. I don't know about other shells.
Build CASA
For instructions on building CASA, see
How To Build CASA Using Build Tool Wrappers.
--
ScottRankin - 2013-12-17