Ich möchte Unicode mit Haskell versuchen, und die Data.Text-Dokumentation sagen, dass ich Text-icu brauche. Das ist, was ich versucht:Installation von Text-icu auf Mac OSX mit 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
Ich fand einen Beitrag von einem Windows-Benutzer, der das gleiche Problem hatte. Muss ich wirklich gehen und diese C-Bibliotheken installieren? Oder sind sie irgendwo auf meinem System "verlegt"?
Danke.
ich keinen Sinn sehen, in denen dieses Thema ist ausgeschaltet. Es ist nicht einmal zu lokal begrenzt. – AndrewC