How To Setup An Enterprise Linux 5 CASA Development Computer

This page describes how to install CASA 3rd party packages required for CASA development.

Status: UNDER DEVELOPMENT
  • Tested on NRAO computers configured per NRAO conventions.
  • NOT TESTED on "vanilla" Enterprise Linux 5.



Warnings

  1. CASA development on Enterprise Linux requires an x86_64 CPU.

Before You Begin

  1. You must have access to root on the computer to be setup.
  2. These instructions assume that all but Server packages are installed at EL5 install time.
    • TODO: find minimum package list.
  3. These instructions only describe how to install CASA specific 3rd party packages.

Configure yum repository

If /etc/yum.repos.d/casa.repo already exists, replace its contents with the following. Otherwise, create a new /etc/yum.repos.d/casa.repo containing

[casa]
name=CASA RPMs for RedHat Enterprise Linux 5 (x86_64)
baseurl=http://svn.cv.nrao.edu/casa/repo/el5/x86_64
gpgkey=http://svn.cv.nrao.edu/casa/RPM-GPG-KEY-casa http://www.jpackage.org/jpackage.asc http://svn.cv.nrao.edu/casa/repo/el5/RPM-GPG-KEY-redhat-release http://svn.cv.nrao.edu/casa/repo/el5/RPM-GPG-KEY-EPEL

Remove Conflicting rpms

If installed, the qt4-devel rpms will conflict with versions required for CASA development.

rpm -e --allmatches --nodeps qt4-devel

Ensure Required rpms are Installed

In a recent install test in a "Full" EL5 Linux installation, the following rpms were missing and not available from the CASA yum repository. They must be installed by some other mechanism.

  --> Missing Dependency: libpng = 2:1.2.10-7.1.el5_5.3 is needed by package 2:libpng-devel-1.2.10-7.1.el5_5.3.x86_64 (casa)
  --> Missing Dependency: libjpeg-devel is needed by package 1:casa01-qt-devel-4.8.5-06.el5.x86_64 (casa)
  --> Missing Dependency: xorg-x11-proto-devel is needed by package libXinerama-devel-1.0.1-2.1.x86_64 (casa)
  --> Missing Dependency: libXft-devel is needed by package 1:casa01-qt-devel-4.8.5-06.el5.x86_64 (casa)
  --> Missing Dependency: libXrandr-devel is needed by package 1:casa01-qt-devel-4.8.5-06.el5.x86_64 (casa)
  --> Missing Dependency: libSM-devel is needed by package 1:casa01-qt-devel-4.8.5-06.el5.x86_64 (casa)
  --> Missing Dependency: libXfixes-devel is needed by package 1:casa01-qt-devel-4.8.5-06.el5.x86_64 (casa)
  --> Missing Dependency: libGL-devel is needed by package 1:casa01-qt-devel-4.8.5-06.el5.x86_64 (casa)
  --> Missing Dependency: xorg-x11-proto-devel is needed by package 1:casa01-qt-devel-4.8.5-06.el5.x86_64 (casa)
  --> Missing Dependency: xorg-x11-proto-devel is needed by package libXi-devel-1.0.1-3.1.x86_64 (casa)
  --> Missing Dependency: libGLU-devel is needed by package 1:casa01-qt-devel-4.8.5-06.el5.x86_64 (casa)
  --> Missing Dependency: libICE-devel is needed by package 1:casa01-qt-devel-4.8.5-06.el5.x86_64 (casa)
  --> Missing Dependency: libXrender-devel is needed by package 1:casa01-qt-devel-4.8.5-06.el5.x86_64 (casa)
  --> Missing Dependency: libXcursor-devel is needed by package 1:casa01-qt-devel-4.8.5-06.el5.x86_64 (casa)
  --> Missing Dependency: libXt-devel is needed by package 1:casa01-qt-devel-4.8.5-06.el5.x86_64 (casa)
  --> Missing Dependency: libXext-devel is needed by package 1:casa01-qt-devel-4.8.5-06.el5.x86_64 (casa)
  --> Missing Dependency: libX11-devel is needed by package 1:casa01-qt-devel-4.8.5-06.el5.x86_64 (casa)
  --> Missing Dependency: libXi = 1.0.1-3.1 is needed by package libXi-devel-1.0.1-3.1.x86_64 (casa)

Install CASA rpms

yum -y install aatm-devel almawvr blas-devel casa01-boost-devel casa01-dbus-cpp-devel casa01-dvi2tty casa01-python-devel casa01-qt-devel casa01-qwt-devel casa01-swig lapack-devel wcslib-devel xerces-c-devel

Get CASA Data

Developers using NRAO EL5 development systems in CV and DSOC do not have to manage their own copy of CASA data. This is available on the NRAO network in CV and DSOC in /home/casa/data/.

CASA requires a set of data to run. CASA tests require a much larger set of data to pass. See Obtaining CASA Data Repository for a full description of the CASA Data Repository.

The CASA Data Repository now contain 112 GiB of data. Most developers only need one copy. Choose a convenient location to keep a checked out copy shared between CASA builds, and use Subversion to check out https://svn.cv.nrao.edu/svn/casa-data to a directory named "data". If you plan to build CASA using the Build Tool Wrappers (see below), see instructions at the end of Configuring Build Tool Wrappers for setting defaultCasaDataPath.

Build CASA

For instructions on building CASA, see How To Build CASA Using Build Tool Wrappers.

-- ScottRankin - 2013-01-09
Topic revision: r13 - 2014-03-28, 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