Resolving dependencies... Configuring mersenne-random-1.0.0.1... Building mersenne-random-1.0.0.1... Preprocessing library mersenne-random-1.0.0.1... [1 of 1] Compiling System.Random.Mersenne ( System/Random/Mersenne.hs, dist/build/System/Random/Mersenne.o ) In-place registering mersenne-random-1.0.0.1... Running Haddock for mersenne-random-1.0.0.1... Running hscolour for mersenne-random-1.0.0.1... Preprocessing library mersenne-random-1.0.0.1... Preprocessing library mersenne-random-1.0.0.1... Warning: The documentation for the following packages are not installed. No links will be generated to these packages: rts-1.0 Haddock coverage: 100% ( 15 / 15) in 'System.Random.Mersenne' Documentation created: dist/doc/html/mersenne-random/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/mersenne-random-1.0.0.1/ghc-7.6.3 Registering mersenne-random-1.0.0.1... Installed mersenne-random-1.0.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 cabal: Error: some packages failed to install: hmp3-1.5.2.1 depends on pcre-light-0.4 which failed to install. pcre-light-0.4 failed during the configure step. The exception was: ExitFailure 1