Resolving dependencies... Configuring bindings-DSL-1.0.23... Configuring mtl-2.2.1... Building bindings-DSL-1.0.23... Building mtl-2.2.1... Configuring utf8-string-1.0.1.1... Installed bindings-DSL-1.0.23 Building utf8-string-1.0.1.1... Configuring bindings-libzip-0.11... Installed mtl-2.2.1 Failed to install bindings-libzip-0.11 Build log ( /home/builder/.cabal/logs/bindings-libzip-0.11.log ): cabal: Entering directory '/tmp/cabal-tmp-29635/bindings-libzip-0.11' Configuring bindings-libzip-0.11... cabal: Missing dependency on a foreign library: * Missing (or bad) header file: zip.h * Missing C library: zip 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. If the header file does exist, it may contain errors that are caught by the C compiler at the preprocessing stage. In this case you can re-run configure with the verbosity flag -v3 to see the error messages. cabal: Leaving directory '/tmp/cabal-tmp-29635/bindings-libzip-0.11' Installed utf8-string-1.0.1.1 cabal: Error: some packages failed to install: LibZip-0.11 depends on bindings-libzip-0.11 which failed to install. bindings-libzip-0.11 failed during the configure step. The exception was: ExitFailure 1