Resolving dependencies... Downloading BerkeleyDBXML-0.3... Configuring BerkeleyDBXML-0.3... cabal: Missing dependencies on foreign libraries: * Missing C libraries: db, dbxml, db_cxx, xqilla, xerces-c, xml2 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 BerkeleyDBXML-0.3 cabal: Error: some packages failed to install: BerkeleyDBXML-0.3 failed during the configure step. The exception was: ExitFailure 1