Resolving dependencies... Downloading fitsio-0.1... [1 of 1] Compiling Main ( /tmp/fitsio-0.1-28722/fitsio-0.1/Setup.lhs, /tmp/fitsio-0.1-28722/fitsio-0.1/dist/setup/Main.o ) Linking /tmp/fitsio-0.1-28722/fitsio-0.1/dist/setup/setup ... Configuring fitsio-0.1... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Warning: Instead of 'ghc-options: -ffi' use 'extensions: ForeignFunctionInterface' Warning: Instead of 'ghc-options: -lcfitsio' use 'extra-libraries: cfitsio' Building fitsio-0.1... Preprocessing library fitsio-0.1... on the commandline: Warning: -ffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface #-} instead src/FitsIO.chs:5:8: Could not find module `C2HS' Use -v to see a list of the files searched for. Failed to install fitsio-0.1 cabal: Error: some packages failed to install: fitsio-0.1 failed during the building phase. The exception was: ExitFailure 1