Resolving dependencies... Configuring text-1.2.2.1... Building text-1.2.2.1... Installed text-1.2.2.1 Configuring ncurses-0.2.9... Failed to install ncurses-0.2.9 Build log ( /home/builder/.cabal/logs/ncurses-0.2.9.log ): cabal: Entering directory '/tmp/cabal-tmp-30473/ncurses-0.2.9' Configuring ncurses-0.2.9... cabal: Missing dependencies on foreign libraries: * Missing C libraries: panelw, ncursesw This problem can usually be solved by installing the system packages that provide these libraries (you may need the "-dev" versions). If the libraries are already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are. cabal: Leaving directory '/tmp/cabal-tmp-30473/ncurses-0.2.9' cabal: Error: some packages failed to install: ncurses-0.2.9 failed during the configure step. The exception was: ExitFailure 1