我试图在我的mac中安装cabal-dev.在完成后,我试图运行./bin/build.得到此错误消息.
cabal: cannot configure cabal-dev-0.9.1. It requires MonadRandom ==0.1.*, tar
==0.3.*, test-framework >=0.3 && <0.6 and test-framework-hunit >=0.2
There is no available version of MonadRandom that satisfies ==0.1.*
There is no available version of tar that satisfies ==0.3.*
There is no available version of test-framework that satisfies >=0.3 && <0.6
There is no available version of test-framework-hunit that satisfies >=0.2
Run Code Online (Sandbox Code Playgroud)
这有什么问题?如何在Haskell中安装依赖项文件?我从Haskell平台下载并安装.
您不必使用该构建脚本; 你可以通过运行安装cabal-dev cabal install cabal-dev,它将自动下载并安装cabal-dev及其依赖项.
但是如果你想使用它,首先尝试cabal install --only-dependenciescabal-dev的源目录(包含在其中cabal-dev.cabal的那个).该脚本的目的是避免避免安装到全局和用户包数据库中 - 基本上,它使用相同的沙盒cabal-dev本身.这可能不值得努力,因为cabal-dev安装就像其他所有程序一样好.
| 归档时间: |
|
| 查看次数: |
5041 次 |
| 最近记录: |