
Unfortunately it doesn’t build for me. I have libicu-dev 3.8.1 installed.
$ cabal install text-icu Resolving dependencies... 'text-icu-0.1' is cached. Configuring text-icu-0.1... Preprocessing library text-icu-0.1... Error.hsc: In function ‘main’: Error.hsc:229: error: ‘U_ARGUMENT_TYPE_MISMATCH’ undeclared (first use in this function) Error.hsc:229: error: (Each undeclared identifier is reported only once Error.hsc:229: error: for each function it appears in.) Error.hsc:230: error: ‘U_DUPLICATE_KEYWORD’ undeclared (first use in this function) Error.hsc:231: error: ‘U_UNDEFINED_KEYWORD’ undeclared (first use in this function) Error.hsc:232: error: ‘U_DEFAULT_KEYWORD_MISSING’ undeclared (first use in this function) Error.hsc:260: error: ‘U_REGEX_OCTAL_TOO_BIG’ undeclared (first use in this function) Error.hsc:261: error: ‘U_REGEX_INVALID_RANGE’ undeclared (first use in this function) Error.hsc:262: error: ‘U_REGEX_STACK_OVERFLOW’ undeclared (first use in this function) Error.hsc:263: error: ‘U_REGEX_TIME_OUT’ undeclared (first use in this function) Error.hsc:264: error: ‘U_REGEX_STOPPED_BY_CALLER’ undeclared (first use in this function) compiling dist/build/Data/Text/ICU/Error_hsc_make.c failed command was: /usr/bin/gcc -c -D__GLASGOW_HASKELL__=610 -I/usr/local/lib/ghc-6.10.1/bytestring-0.9.1.4/include -I/usr/local/lib/ghc-6.10.1/base-4.0.0.0/include -I/usr/local/lib/ghc-6.10.1/include -IPAPI_INCLUDE_DIR dist/build/Data/Text/ICU/Error_hsc_make.c -o dist/build/Data/Text/ICU/Error_hsc_make.o cabal: Error: some packages failed to install: text-icu-0.1 failed during the building phase. The exception was: exit: ExitFailure 1