Resolving dependencies... Configuring monads-fd-0.1.0.1... Building monads-fd-0.1.0.1... Preprocessing library monads-fd-0.1.0.1... [ 1 of 21] Compiling Control.Monad.Writer.Class ( Control/Monad/Writer/Class.hs, dist/build/Control/Monad/Writer/Class.o ) [ 2 of 21] Compiling Control.Monad.State.Class ( Control/Monad/State/Class.hs, dist/build/Control/Monad/State/Class.o ) [ 3 of 21] Compiling Control.Monad.Reader.Class ( Control/Monad/Reader/Class.hs, dist/build/Control/Monad/Reader/Class.o ) [ 4 of 21] Compiling Control.Monad.RWS.Class ( Control/Monad/RWS/Class.hs, dist/build/Control/Monad/RWS/Class.o ) [ 5 of 21] Compiling Control.Monad.Identity ( Control/Monad/Identity.hs, dist/build/Control/Monad/Identity.o ) [ 6 of 21] Compiling Control.Monad.Error.Class ( Control/Monad/Error/Class.hs, dist/build/Control/Monad/Error/Class.o ) Control/Monad/Error/Class.hs:93:18: Not in scope: `catch' Failed to install monads-fd-0.1.0.1 Configuring pcre-light-0.4... cabal: Missing dependency on a foreign library: * Missing C library: pcre 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. Failed to install pcre-light-0.4 Configuring split-0.2.2... Building split-0.2.2... Preprocessing library split-0.2.2... [1 of 2] Compiling Data.List.Split.Internals ( src/Data/List/Split/Internals.hs, dist/build/Data/List/Split/Internals.o ) [2 of 2] Compiling Data.List.Split ( src/Data/List/Split.hs, dist/build/Data/List/Split.o ) In-place registering split-0.2.2... Running Haddock for split-0.2.2... Running hscolour for split-0.2.2... Preprocessing library split-0.2.2... Preprocessing library split-0.2.2... Warning: The documentation for the following packages are not installed. No links will be generated to these packages: rts-1.0 Haddock coverage: 91% ( 61 / 67) in 'Data.List.Split.Internals' 90% ( 44 / 49) in 'Data.List.Split' Documentation created: dist/doc/html/split/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/split-0.2.2/ghc-7.6.3 Registering split-0.2.2... Installed split-0.2.2 cabal: Error: some packages failed to install: hunp-0.1 depends on pcre-light-0.4 which failed to install. monads-fd-0.1.0.1 failed during the building phase. The exception was: ExitFailure 1 pcre-light-0.4 failed during the configure step. The exception was: ExitFailure 1