在Windows 7上安装Cabal-dev [英] Install Cabal-dev on windows 7
本文介绍了在Windows 7上安装Cabal-dev的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图在Windows 7上安装Cabal-dev。
I'm trying to install Cabal-dev on windows 7.
我已经设法解决了无法使用此功能构建网络的问题:
I've managed to get past the problem with not being able to build network by using this:
cabal install --constraint="network installed" cabal-dev
然而我得到这个:
However then I get this:
>cabal install --constraint="network installed" cabal-dev
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: cabal-dev-0.9.1
trying: cabal-dev-0.9.1:-no-cabal-dev
trying: network-2.3.1.0/installed-489...
rejecting: parsec-3.1.3/installed-62e... (conflict: network =>
parsec==3.1.3/installed-c65...)
rejecting: parsec-3.1.3/installed-c65... (conflict: parsec =>
mtl==2.1.2/installed-533..., cabal-dev-0.9.1:no-cabal-dev => mtl>=1.1 && <2.1)
rejecting: parsec-3.1.3, 3.1.2, 3.1.1, 3.1.0, 3.0.1, 3.0.0, 2.1.0.1, 2.1.0.0,
2.0 (conflict: network => parsec==3.1.3/installed-c65...)
推荐答案
Mikhail Glushenkov的建议奏效
Mikhail Glushenkov's recommendation worked
我克隆了 git repo for cabal-dev 然后像这样构建它:
I cloned the git repo for cabal-dev and then build it like this:
runhaskell -isrc admin/bootstrap.hs
然后我添加了
then I added
{windowspath ..}\cabal-dev\cabal-dev\bin
到我的路径和所有内容工作中。
to my path and everything is working.
我现在可以在我的yesod文件夹中运行cabal-dev安装,最后让yesod工作。
I can now run cabal-dev install in my yesod folder get yesod working finally.
这篇关于在Windows 7上安装Cabal-dev的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文