Configuring ghc-pkg-6.9...
ghc-cabal: At least the following dependencies are missing:
terminfo -any
make[1]: *** [utils/ghc-pkg/dist-install/package-data.mk] Error 1
make: *** [all] Error 2