Resolving dependencies... Configuring ansi-terminal-0.6.2.3... Configuring Win32-2.4.0.0... Building ansi-terminal-0.6.2.3... Failed to install Win32-2.4.0.0 Build log ( /home/builder/.cabal/logs/Win32-2.4.0.0.log ): cabal: Entering directory '/tmp/cabal-tmp-30136/Win32-2.4.0.0' Configuring Win32-2.4.0.0... cabal: Missing dependencies on foreign libraries: * Missing (or bad) header file: HsWin32.h * Missing C libraries: user32, gdi32, winmm, advapi32, shell32, shfolder, shlwapi 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. 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-30136/Win32-2.4.0.0' Configuring base-orphans-0.5.4... Building base-orphans-0.5.4... Configuring byteable-0.1.1... Installed base-orphans-0.5.4 Building byteable-0.1.1... Configuring memory-0.13... Installed ansi-terminal-0.6.2.3 Building memory-0.13... Configuring mtl-2.2.1... Installed byteable-0.1.1 Building mtl-2.2.1... Configuring random-1.1... Installed mtl-2.2.1 Building random-1.1... Configuring primitive-0.6.1.0... Installed memory-0.13 Building primitive-0.6.1.0... Configuring semigroups-0.18.2... Installed random-1.1 Building semigroups-0.18.2... Configuring text-1.2.2.1... Installed semigroups-0.18.2 Building text-1.2.2.1... Installed primitive-0.6.1.0 Configuring ansi-wl-pprint-0.6.7.3... Building ansi-wl-pprint-0.6.7.3... Installed ansi-wl-pprint-0.6.7.3 Configuring cryptonite-0.20... Building cryptonite-0.20... Configuring tf-random-0.5... Installed text-1.2.2.1 Building tf-random-0.5... Configuring vector-0.11.0.0... Installed tf-random-0.5 Building vector-0.11.0.0... Configuring hashable-1.2.4.0... Installed cryptonite-0.20 Building hashable-1.2.4.0... Configuring parsec-3.1.11... Installed hashable-1.2.4.0 Building parsec-3.1.11... Configuring QuickCheck-2.9.2... Installed vector-0.11.0.0 Building QuickCheck-2.9.2... Installed parsec-3.1.11 Configuring cryptohash-0.11.9... Building cryptohash-0.11.9... Configuring unordered-containers-0.2.7.1... Installed cryptohash-0.11.9 Building unordered-containers-0.2.7.1... Configuring scientific-0.3.4.9... Installed unordered-containers-0.2.7.1 Building scientific-0.3.4.9... Installed QuickCheck-2.9.2 Configuring charset-0.3.7.1... Building charset-0.3.7.1... Installed scientific-0.3.4.9 Configuring attoparsec-0.13.1.0... Building attoparsec-0.13.1.0... Installed charset-0.3.7.1 Installed attoparsec-0.13.1.0 Configuring parsers-0.12.4... Building parsers-0.12.4... Installed parsers-0.12.4 Configuring inline-c-0.5.5.9... Building inline-c-0.5.5.9... Installed inline-c-0.5.5.9 cabal: Error: some packages failed to install: Win32-2.4.0.0 failed during the configure step. The exception was: ExitFailure 1 inline-c-win32-0.1 depends on Win32-2.4.0.0 which failed to install.