Resolving dependencies... Configuring groups-0.4.0.0... Configuring primitive-0.6.2.0... Building groups-0.4.0.0... Building primitive-0.6.2.0... Installed groups-0.4.0.0 Installed primitive-0.6.2.0 Configuring mcl-1.0.1... Failed to install mcl-1.0.1 Build log ( /home/builder/.cabal/logs/mcl-1.0.1.log ): cabal: Entering directory '/tmp/cabal-tmp-11890/mcl-1.0.1' [1 of 1] Compiling Main ( /tmp/cabal-tmp-11890/mcl-1.0.1/dist/setup/setup.hs, /tmp/cabal-tmp-11890/mcl-1.0.1/dist/setup/Main.o ) Linking /tmp/cabal-tmp-11890/mcl-1.0.1/dist/setup/setup ... Configuring mcl-1.0.1... setup: Missing dependency on a foreign library: * Missing C library: mcl 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. cabal: Leaving directory '/tmp/cabal-tmp-11890/mcl-1.0.1' cabal: Error: some packages failed to install: mcl-1.0.1 failed during the configure step. The exception was: ExitFailure 1