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의 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에서입니다.
해결책
제휴하지 않습니다 StackOverflow