从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。

有帮助吗?

解决方案

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top