Resolving dependencies... Configuring parsec-2.1.0.1... Building parsec-2.1.0.1... Preprocessing library parsec-2.1.0.1... [ 1 of 10] Compiling Text.ParserCombinators.Parsec.Pos ( Text/ParserCombinators/Parsec/Pos.hs, dist/build/Text/ParserCombinators/Parsec/Pos.o ) [ 2 of 10] Compiling Text.ParserCombinators.Parsec.Error ( Text/ParserCombinators/Parsec/Error.hs, dist/build/Text/ParserCombinators/Parsec/Error.o ) [ 3 of 10] Compiling Text.ParserCombinators.Parsec.Prim ( Text/ParserCombinators/Parsec/Prim.hs, dist/build/Text/ParserCombinators/Parsec/Prim.o ) [ 4 of 10] Compiling Text.ParserCombinators.Parsec.Char ( Text/ParserCombinators/Parsec/Char.hs, dist/build/Text/ParserCombinators/Parsec/Char.o ) [ 5 of 10] Compiling Text.ParserCombinators.Parsec.Combinator ( Text/ParserCombinators/Parsec/Combinator.hs, dist/build/Text/ParserCombinators/Parsec/Combinator.o ) [ 6 of 10] Compiling Text.ParserCombinators.Parsec ( Text/ParserCombinators/Parsec.hs, dist/build/Text/ParserCombinators/Parsec.o ) [ 7 of 10] Compiling Text.ParserCombinators.Parsec.Perm ( Text/ParserCombinators/Parsec/Perm.hs, dist/build/Text/ParserCombinators/Parsec/Perm.o ) [ 8 of 10] Compiling Text.ParserCombinators.Parsec.Token ( Text/ParserCombinators/Parsec/Token.hs, dist/build/Text/ParserCombinators/Parsec/Token.o ) [ 9 of 10] Compiling Text.ParserCombinators.Parsec.Language ( Text/ParserCombinators/Parsec/Language.hs, dist/build/Text/ParserCombinators/Parsec/Language.o ) [10 of 10] Compiling Text.ParserCombinators.Parsec.Expr ( Text/ParserCombinators/Parsec/Expr.hs, dist/build/Text/ParserCombinators/Parsec/Expr.o ) In-place registering parsec-2.1.0.1... Running Haddock for parsec-2.1.0.1... Running hscolour for parsec-2.1.0.1... Preprocessing library parsec-2.1.0.1... Preprocessing library parsec-2.1.0.1... Haddock coverage: 6% ( 1 / 17) in 'Text.ParserCombinators.Parsec.Pos' 12% ( 2 / 16) in 'Text.ParserCombinators.Parsec.Error' 7% ( 2 / 30) in 'Text.ParserCombinators.Parsec.Prim' 5% ( 1 / 19) in 'Text.ParserCombinators.Parsec.Char' 4% ( 1 / 24) in 'Text.ParserCombinators.Parsec.Combinator' 20% ( 1 / 5) in 'Text.ParserCombinators.Parsec.Expr' 22% ( 4 / 18) in 'Text.ParserCombinators.Parsec' 14% ( 1 / 7) in 'Text.ParserCombinators.Parsec.Perm' 25% ( 1 / 4) in 'Text.ParserCombinators.Parsec.Token' 11% ( 1 / 9) in 'Text.ParserCombinators.Parsec.Language' Documentation created: dist/doc/html/parsec/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/parsec-2.1.0.1 Registering parsec-2.1.0.1... Installed parsec-2.1.0.1 Configuring utf8-string-0.3.7... Building utf8-string-0.3.7... Preprocessing library utf8-string-0.3.7... [1 of 7] Compiling Codec.Binary.UTF8.String ( Codec/Binary/UTF8/String.hs, dist/build/Codec/Binary/UTF8/String.o ) [2 of 7] Compiling Codec.Binary.UTF8.Generic ( Codec/Binary/UTF8/Generic.hs, dist/build/Codec/Binary/UTF8/Generic.o ) [3 of 7] Compiling Data.String.UTF8 ( Data/String/UTF8.hs, dist/build/Data/String/UTF8.o ) [4 of 7] Compiling System.IO.UTF8 ( System/IO/UTF8.hs, dist/build/System/IO/UTF8.o ) [5 of 7] Compiling System.Environment.UTF8 ( System/Environment/UTF8.hs, dist/build/System/Environment/UTF8.o ) [6 of 7] Compiling Data.ByteString.UTF8 ( Data/ByteString/UTF8.hs, dist/build/Data/ByteString/UTF8.o ) [7 of 7] Compiling Data.ByteString.Lazy.UTF8 ( Data/ByteString/Lazy/UTF8.hs, dist/build/Data/ByteString/Lazy/UTF8.o ) In-place registering utf8-string-0.3.7... Running Haddock for utf8-string-0.3.7... Running hscolour for utf8-string-0.3.7... Preprocessing library utf8-string-0.3.7... Preprocessing library utf8-string-0.3.7... Haddock coverage: 100% ( 8 / 8) in 'Codec.Binary.UTF8.String' 94% ( 16 / 17) in 'Codec.Binary.UTF8.Generic' 89% ( 24 / 27) in 'Data.String.UTF8' 82% ( 14 / 17) in 'System.IO.UTF8' 14% ( 1 / 7) in 'System.Environment.UTF8' 100% ( 17 / 17) in 'Data.ByteString.UTF8' 100% ( 17 / 17) in 'Data.ByteString.Lazy.UTF8' Documentation created: dist/doc/html/utf8-string/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/utf8-string-0.3.7 Registering utf8-string-0.3.7... Installed utf8-string-0.3.7 Downloading cedict-0.2.4... Configuring cedict-0.2.4... cabal: Missing dependency on a foreign library: * Missing (or bad) header file: c/data.h 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. If the header file does exist, it may contain errors that are caught by the C compiler at the preprocessing stage. In this case you can re-run configure with the verbosity flag -v3 to see the error messages. Failed to install cedict-0.2.4 cabal: Error: some packages failed to install: cedict-0.2.4 failed during the configure step. The exception was: ExitFailure 1