我在安装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
答案 0 :(得分:2)
darcs
似乎需要libcurl
的开发文件。因此,在Ubuntu中安装libcurl4-gnutls-dev
:
sudo apt-get install libcurl4-gnutls-dev
安装完成后,使用通常的cabal安装方法安装darcs
。