Resolving dependencies... Configuring c2hs-0.15.1... Warning: 'hs-source-dirs: base/admin' directory does not exist. Building c2hs-0.15.1... Preprocessing executable 'c2hs' for c2hs-0.15.1... dist/build/c2hs/c2hs-tmp/CParser.hs:1:12: Warning: -fglasgow-exts is deprecated: Use individual extensions instead dist/build/c2hs/c2hs-tmp/CLexer.hs:1:12: Warning: -fglasgow-exts is deprecated: Use individual extensions instead [ 1 of 35] Compiling DLists ( base/general/DLists.hs, dist/build/c2hs/c2hs-tmp/DLists.o ) [ 2 of 35] Compiling StateTrans ( base/state/StateTrans.hs, dist/build/c2hs/c2hs-tmp/StateTrans.o ) base/state/StateTrans.hs:300:13: Not in scope: ‘catch’ Failed to install c2hs-0.15.1 cabal: Error: some packages failed to install: c2hs-0.15.1 failed during the building phase. The exception was: ExitFailure 1