9
我想嘗試使用haskell的unicode,並且Data.Text文檔說我需要text-icu。這是我的嘗試:在Mac OSX上安裝text-icu與cabal
的Mac OS X 10.6.8
~/haskell_programs$ cabal update
Downloading the latest package list from hackage.haskell.org
~/haskell_programs$ cabal install text-icu
Resolving dependencies...
Downloading text-icu-0.6.3.5...
Configuring text-icu-0.6.3.5...
cabal: Missing dependencies on foreign libraries:
* Missing C libraries: icui18n, icudata, icuuc
This problem can usually be solved by installing the system packages that
provide these libraries (you may need the "-dev" versions). If the libraries
are already installed but in a non-standard location then you can use the
flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are.
Failed to install text-icu-0.6.3.5
cabal: Error: some packages failed to install:
text-icu-0.6.3.5 failed during the configure step. The exception was:
ExitFailure 1
我發現一個帖子中的Windows用戶誰有同樣的問題。我真的需要出去安裝這些C庫嗎?或者他們在我的系統的某個地方「錯位」?
謝謝。
我看不到任何的意義上,這是題外話。它甚至不是太本地化。 – AndrewC