从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的curl-devel包,但是从Cygwin提示cabal install curl
也失败了,即使我指向--extra-lib-dirs
和--extra-include-dirs
,例如,
$ 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,Cabal-1.6.0.3和cabal-install-0.6.2。