Fits Database |
How to install MFITS |
Untar cfitsio and CCfits with:
tar -xvzf cfitsio3060.tar.gz
tar -xvzf CCfits-2.0.mod.tar.gz
cd cfitsio
./configure --prefix=<DIR1>
make
make install
cd CCfits
./configure --with-cfitsio=<DIR1> --prefix=<DIR2>
make
make install
cvs co -P -d <DIR3> mfits<DIR3> is the directory where you want to download the mfits package, e.g. /home/yoyo/magic/mfits
setenv CFITSIODIR <DIR1>
setenv CCFITSDIR <DIR2>
setenv MFITSDIR <DIR3>
setenv LD_LIBRARY_PATH "${CCFITSDIR}/lib:${MFITSDIR}:${LD_LIBRARY_PATH}"
cd $MFITSDIR
make