Resolving dependencies... cabal: Entering directory '/tmp/cabal-tmp-13108/ObjectIO-1.0.1.1' [1 of 1] Compiling Main ( /tmp/cabal-tmp-13108/ObjectIO-1.0.1.1/dist/setup/setup.hs, /tmp/cabal-tmp-13108/ObjectIO-1.0.1.1/dist/setup/Main.o ) Linking /tmp/cabal-tmp-13108/ObjectIO-1.0.1.1/dist/setup/setup ... Warning: ObjectIO.cabal: Unknown fields: depends (line 128) Fields allowed in this section: name, version, cabal-version, build-type, license, license-file, license-files, copyright, maintainer, stability, homepage, package-url, bug-reports, synopsis, description, category, author, tested-with, data-files, data-dir, extra-source-files, extra-tmp-files, extra-doc-files Configuring ObjectIO-1.0.1.1... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. setup: Missing dependencies on foreign libraries: * Missing C libraries: user32, gdi32, kernel32, comctl32, comdlg32, shell32, winmm, winspool, ole32 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-13108/ObjectIO-1.0.1.1' Failed to install ObjectIO-1.0.1.1 cabal: Error: some packages failed to install: ObjectIO-1.0.1.1 failed during the configure step. The exception was: ExitFailure 1