*** setup configure Configuring cedict-0.2.1... Dependency base-any: using base-3.0.2.0 Dependency containers-any: using containers-0.1.0.2 Dependency parsec-any: using parsec-3.0.0 Dependency utf8-string-any: using utf8-string-0.3.1.1 Dependency bytestring-any: using bytestring-0.9.1.3 Dependency mtl-any: using mtl-1.1.0.2 Using compiler: ghc-6.8.3 Using install prefix: /usr/local/tmp/archive/install Binaries installed in: /usr/local/tmp/archive/install/bin Libraries installed in: /usr/local/tmp/archive/install/lib/cedict-0.2.1/ghc-6.8.3 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/cedict-0.2.1 Documentation installed in: /usr/local/tmp/archive/install/share/doc/cedict-0.2.1 Using alex version 2.2 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar Using c2hs version 0.15.1 found on system at: /usr/local/bin/c2hs Using cpphs version 0.7 found on system at: /usr/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using ghc version 6.8.3 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.8.3 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.3.0 found on system at: /usr/local/bin/haddock Using happy version 1.17 found on system at: /usr/local/bin/happy No hmake found Using hsc2hs version 0.66-ghc found on system at: /usr/local/bin/hsc2hs Using hscolour version 1.9 found on system at: /usr/local/bin/HsColour Using hugs found on system at: /usr/local/bin/hugs No jhc found Using ld found on system at: /usr/bin/ld No nhc98 found Using pkg-config version 0.22 found on system at: /usr/bin/pkg-config Using ranlib found on system at: /usr/bin/ranlib Using strip found on system at: /usr/bin/strip Using tar found on system at: /bin/tar *** setup build Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library cedict-0.2.1... Preprocessing executables for cedict-0.2.1... Building cedict-0.2.1... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc -package-name cedict-0.2.1 --make -hide-all-packages -i -idist/build/autogen -idist/build -i. -Idist/build -#include "c/data.h" -odir dist/build -hidir dist/build -stubdir dist/build -package base-3.0.2.0 -package containers-0.1.0.2 -package parsec-3.0.0 -package utf8-string-0.3.1.1 -package bytestring-0.9.1.3 -package mtl-1.1.0.2 -O Data.Char.CEDICT Data.Char.CEDICT.C.Declarations Data.Char.CEDICT.C.Walker Data.Char.CEDICT.C.PtrWalker Data.Char.CEDICT.C.Data Data.Char.CEDICT.Reader.ListRebuild Data.Char.CEDICT.Reader.RoseBush Data.Char.CEDICT.Reader.Parser [1 of 8] Compiling Data.Char.CEDICT.Reader.Parser ( Data/Char/CEDICT/Reader/Parser.hs, dist/build/Data/Char/CEDICT/Reader/Parser.o ) Data/Char/CEDICT/Reader/Parser.hs:84:32: No instance for (Text.Parsec.Prim.Stream s1 m1 Char) arising from a use of `many1' at Data/Char/CEDICT/Reader/Parser.hs:84:32-36 Possible fix: add an instance declaration for (Text.Parsec.Prim.Stream s1 m1 Char) In the first argument of `($)', namely `many1' In a stmt of a 'do' expression: phone <- many1 $ choice [letter, char ':'] In the expression: do phone <- many1 $ choice [letter, char ':'] tone <- digit return $ phone ++ [tone] Data/Char/CEDICT/Reader/Parser.hs:90:32: No instance for (Text.Parsec.Prim.Stream s m Char) arising from a use of `oneOf' at Data/Char/CEDICT/Reader/Parser.hs:90:32-36 Possible fix: add an instance declaration for (Text.Parsec.Prim.Stream s m Char) In the first argument of `($)', namely `oneOf' In the expression: oneOf $ concat [[(c 13312) .. (c 19893)], [(c 19968) .. (c 40869)], [(c 40870) .. (c 40891)], [(c 63744) .. (c 64045)], ....] In the definition of `oneHan': oneHan = oneOf $ concat [[(c 13312) .. (c 19893)], [(c 19968) .. (c 40869)], [(c 40870) .. (c 40891)], ....] where c :: Int -> Char c = toEnum