CFITSIO installation
whatis : CFITSIO is a library for reading and writing data files in FITS (Flexible Image Transport System) data format
source : NASA site: http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html
Note
For the recommended CMake build (see Installing a local copy of the cWB libraries), the easiest way to
get CFITSIO is via conda-forge, matching the version required by your
healpix_cxx package (see HEALPix installation and the
library README):
conda install -c conda-forge cfitsio
For the traditional Makefile build, CFITSIO is instead built from source, as described below.
Download cfitsio-3.45
wget ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3450.tar.gz
Installation :
gunzip cfitsio3450.tar.gz
tar xvf cfitsio3450.tar
mv cfitsio cfitsio-3.45
cd cfitsio-3.45
./configure CFLAGS=-O
make shared
Note
set HOME_CFITSIO environment variable in watenv script.