Setup A CASA Developement Environment

This page will describe how to setup a CASA development environment on a computer running a CASA supported development OS.



Equivalents for other OSs are to be written.

OS X 10.x


To setup an OS X CASA development system, you will need

  • an x86_64 Mac running OS X 10.7 or 10.8,
  • an admin account on that Mac,
  • a copy of casa3rdParty-1-osx10_V-x6_64-1.tar.gz from TBD

where V is 7 or 8, depending on your OS X version.


There are conflicts between NRAO Managed Software installed in /opt/local and CASA 3rd party packages. To prevent conflicts from interfering with building and running CASA, move /opt/local to another directory like /opt/NRAO-local, and remove /opt/local from all path environment variables.

There may be conflicts with any software previously installed with MacPorts. I suggest you make the changes above if /opt/local exists on your Mac.

In the future, it may be possible to ease this restriction.

Install Published Packages

Some CASA required 3rd party software is only available as packaged software. Install the following from packages available from the software owner or maintainer.

After installing Xcode, install the Command Line Tools from the Xcode Preferences dialog, Downloads dialog.

Untar casa3rdParty-1-osx10_V-x6_64-1.tar.gz

where V is 7 or 8, depending on your OS X version.

sudo mkdir -p /opt/casa/3rdParty
cd /opt/casa/3rdParty
sudo curl [TBD]/casa3rdParty-1-osx10_V-x6_64-1.tar.gz 
sudo gnutar fpvxz casa3rdParty-1-osx10_V-x6_64-1.tar.gz 

This will extract CASA 3rd party packages into the directory /opt/casa/3rdParty/1. Then, copy required dbus plists to system locations.

sudo cp 1/Library/LaunchAgents/org.freedesktop.dbus-session.plist /Library/LaunchAgents/org.freedesktop.dbus-session.plist
sudo cp 1/Library/LaunchDaemons/org.freedesktop.dbus-system.plist /Library/LaunchDaemons/org.freedesktop.dbus-system.plist 

Build CASA

Either use the CASA Build Tool Wrappers >= 0.15.0, or build CASA as you have in the past. If you do not use the Build Tools Wrappers, you will need to add the following to your shell environment

I suggest you start with the following configure strings, in build order. Tweak for your purposes.





Building CASA 3rd Party Packages From Source

If you require customized CASA 3rd party packages for any reason, you may build them yourself following the procedure at BuildCasa3rdPartyPackagesOnOsX.

-- ScottRankin - 2013-04-25
Topic revision: r7 - 2013-12-12, ScottRankin
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback