1. un-tar the file (http://heasarc.gsfc.nasa.gov/fitsio/)
2. /cfitsio$ export CFLAGS="-arch i386 -g -O2"
3. /cfitsio$ ./configure
4. /cfitsio$ make