Resolving dependencies... Configuring extensible-exceptions-0.1.1.4... Building extensible-exceptions-0.1.1.4... Preprocessing library extensible-exceptions-0.1.1.4... [1 of 1] Compiling Control.Exception.Extensible ( Control/Exception/Extensible.hs, dist/build/Control/Exception/Extensible.o ) In-place registering extensible-exceptions-0.1.1.4... Running Haddock for extensible-exceptions-0.1.1.4... Running hscolour for extensible-exceptions-0.1.1.4... Preprocessing library extensible-exceptions-0.1.1.4... Preprocessing library extensible-exceptions-0.1.1.4... Warning: The documentation for the following packages are not installed. No links will be generated to these packages: rts-1.0 Haddock coverage: 100% ( 2 / 2) in 'Control.Exception.Extensible' Documentation created: dist/doc/html/extensible-exceptions/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/extensible-exceptions-0.1.1.4/ghc-7.6.3 Registering extensible-exceptions-0.1.1.4... Installed extensible-exceptions-0.1.1.4 Configuring pcre-light-0.4... cabal: Missing dependency on a foreign library: * Missing C library: pcre This problem can usually be solved by installing the system package that provides this library (you may need the "-dev" version). If the library is already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where it is. Failed to install pcre-light-0.4 Configuring readline-1.0.3.0... checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for GNUreadline.framework... checking for readline... no checking for tputs in -lncurses... yes checking for readline in -lreadline... no checking for rl_readline_version... no configure: error: readline not found, so this package cannot be built See `config.log' for more details. Failed to install readline-1.0.3.0 cabal: Error: some packages failed to install: mkcabal-1.0.0 depends on readline-1.0.3.0 which failed to install. pcre-light-0.4 failed during the configure step. The exception was: ExitFailure 1 readline-1.0.3.0 failed during the configure step. The exception was: ExitFailure 1