Tôi muốn thử unicode với haskell và tài liệu Data.Text nói rằng tôi cần text-icu. Đây là những gì tôi đã cố gắng:cài đặt text-icu trên Mac OSX với 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
Tôi tìm thấy một bài của một người dùng Windows những người có cùng một vấn đề. Tôi có thực sự cần phải đi ra ngoài và cài đặt các thư viện C đó không? Hay chúng bị đặt nhầm chỗ nào đó trên hệ thống của tôi?
Cảm ơn.
Tôi không thể nhìn thấy bất kỳ ý nghĩa trong đó đây là off topic. Nó thậm chí không địa phương hóa quá. – AndrewC