|
BuildInstructions
IntroductionNOTE As of casacore-1.4_scons has been removed as a build environment. Please read the instructions here carefully! CMake is now used to build casacore. The CmakeInstructions page contains more details. Installing CMakeCMake >= 2.6 is required. Check your operating system's package manager if it is available. If not get it CMake at www.cmake.org Third party requirementscasacore needs the following external libraries:
Note: For OS X users we recommend using the gfortran compiler available here. The HDF5 package is optional (see http://www.hdfgroup.org/HDF5/index.html). If enabled (-DUSE_HDF5), the HDF5 classes in the casacore package will be activated. For example, HDF5Image can be used to support images in HDF5 format. The fftw3 package is also optional (see http://www.fftw.org). If enabled (-DUSE_FFTW3), casacore's FFT classes will use fftw3 instead of fftpack from lapack. Both the single precision and double precision versions are needed. It is possible to use the single or multi-threaded version of fftw3 (see CmakeInstructions for details) readline support is optional through -DUSE_READLINE. Building the casacoreThe current version can be retrieved via subversion: svn co http://casacore.googlecode.com/svn/tags/casacore-1.5.0 or get the latest stable source tarball from the Downloads section. For the impatientIf every dependency is in its default location (/usr/local) and no special options are required you can go ahead an build. cd casacore-1.5.0 mkdir build; cd build cmake .. make make install After building casacore it is recommended to also run the tests. For running casacore tests and using other programs depending on the casacore libraries you will need the measures' modules meta-data (e.g. leap second tables, observatory locations) See also CasaAipsRC for how to point to measures data explicitly. A copy of this data is updated weekly made available at ftp://ftp.atnf.csiro.au/pub/software/measures_data/measures_data.tar.bz2. make test For more detailed instructions go to CmakeInstructions. |
Problems can be reported on the issues pages.