无法安装Darcs - Ubuntu 14.04 x64 - darcs 2.8.4 - cabal 1.20.0.2

时间:2014-07-29 14:50:57

标签: haskell cabal darcs

我在安装darcs时遇到问题

$ cabal install darcs-2.8.4
/tmp/darcs-2.8.4-26031/darcs-2.8.4/Setup.lhs:106:3: Warning:
    In the use of `runTests'
    (imported from Distribution.Simple, but defined in Distribution.SimpleLinking /tmp/darcs-2.8.4-26031/darcs-2.8.4/dist/setup/setup ...
Configuring dsetup: Unable to link against the iconv library.
cabal: Error: some packages failed to install:
darcs-2.8.4 failed during the configure step. The exception was:
ExitFailure 1

1 个答案:

答案 0 :(得分:2)

darcs似乎需要libcurl的开发文件。因此,在Ubuntu中安装libcurl4-gnutls-dev

sudo apt-get install libcurl4-gnutls-dev

安装完成后,使用通常的cabal安装方法安装darcs