На Cygwin, как мне установить curl из hackage? - PullRequest
2 голосов
/ 27 июня 2009

Из командной строки 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.

1 Ответ

1 голос
/ 27 июня 2009
...