在Cygwin,如何从hackage安装卷曲?
题
从Windows命令提示,
c:\>cabal install curl Resolving dependencies... Configuring curl-1.3.5... cabal: Error: some packages failed to install: curl-1.3.5 failed during the configure step. The exception was: sh: runGenProcess: does not exist (No such file or directory)
我已经安装Cygwin的卷曲devel包,而是从一个Cygwin的提示cabal install curl
也失败,即使我点--extra-lib-dirs
和--extra-include-dirs
它, e.g。,
$ cabal install curl --extra-include-dirs=c:/cygwin/usr/include \ --extra-lib-dirs=c:/cygwin/usr/lib Resolving dependencies... Configuring curl-1.3.5... [...] configure: error: curl libraries not found, so curl package cannot be built See `config.log' for more details. cabal.exe: Error: some packages failed to install: curl-1.3.5 failed during the configure step. The exception was: exit: ExitFailure 1
上述尝试与GHC-6.10.3,卡瓦尔-1.6.0.3,和小集团安装-0.6.2。
解决方案
不隶属于 StackOverflow