These are instructions on how to build CASA from the sources on a Linux Fedora Core 6 laptop.
1. If relevant, first remove ACS (Alma Common Software) and scisoft (http://www.eso.org/scisoft
) from the environment, in order to avoid conflicting java and python versions
- Bash users remove from .bashrc
and execute with root privilegdes
chmod +x bootstrap.linux
The script will create the configuration file
. Just leave
as it is.
yum install casapy-test-devel
If you get these error messages
Error: Missing Dependency: qt4-devel is needed by package casapy-test-devel
Error: Missing Dependency: qt4-devel is needed by package qwt-devel
Error: Missing Dependency: tk = 8.4.13-3.fc6 is needed by package tk-devel
it might help to add to
the following repositories
is satisfied, a list is shown of some 28 packages to be installed. Accept that.
4. As non-root get the CASA sources (no svn account required), and run the configuration script
is the directory under which CASA is installed, called e.g.
). There may be messages underway like
Warning: /scratch/ALMA/casa/linux_gnu does not exist.
/scratch/ALMA/casa/casainit.sh: line 442: avers: command not found
which can be ignored. Answer instead the questions as prompted. You will be asked to edit your
and define in
You will be offered to edit
. Don't do that; just use the defaults.
You will be asked to edit
. Don't do that. Copy instead this file
to that location.
Next, the configure script checks whether the definitions in your makedefs are valid. This diagnosis is likely to be outdated, so ignore the list.
ends, enable the changes you made in .bashrc (e.g. by starting a new terminal window). Then
sneeze cumulative -l -m &
and track the build process
tail -f ../linux_gnu/sneeze.log=
or find something else to do for next three hours.
Notice that the compilation will not stop on error. When the compilation has finished use
grep -E "gmake.*Error.*ignored" linux_gnu/sneeze.log
to see if there were compilation errors. Common build problems include missing external packages.
command cleans and rebuilds everything, so on subsequent build attemps you may want to simply
to save some time.
- 19 Aug 2008