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 Downloading BerkeleyDB-0.7.2... Configuring BerkeleyDB-0.7.2... cabal: Missing dependencies on foreign libraries: * Missing C libraries: db, db_cxx 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. Failed to install BerkeleyDB-0.7.2 cabal: Error: some packages failed to install: BerkeleyDB-0.7.2 failed during the configure step. The exception was: ExitFailure 1