Resolving dependencies... Configuring mtl-2.2.1... Building mtl-2.2.1... Installed mtl-2.2.1 Configuring hslua-0.3.5... Building hslua-0.3.5... Failed to install hslua-0.3.5 Build log ( /home/builder/.cabal/logs/hslua-0.3.5.log ): cabal: Entering directory '/tmp/cabal-tmp-28202/hslua-0.3.5' Configuring hslua-0.3.5... Building hslua-0.3.5... Preprocessing library hslua-0.3.5... [1 of 2] Compiling Scripting.Lua ( src/Scripting/Lua.hs, dist/build/Scripting/Lua.o ) src/Scripting/Lua.hs:964:34: error: Variable not in scope: catch :: IO CInt -> (a0 -> IO Integer) -> IO CInt cabal: Leaving directory '/tmp/cabal-tmp-28202/hslua-0.3.5' cabal: Error: some packages failed to install: hslua-0.3.5 failed during the building phase. The exception was: ExitFailure 1