온라인 파일 (일부 XML 파일)에 액세스 할 수 있도록 내 프로젝트에서 'Import Text.XML.HXT.Curl'을 사용하려고합니다.Windows 7의 Haskell 플랫폼에서 Curl 사용
Could not find module `Text.XML.HXT.Curl':
Use -v to see a list of the files searched for.
내가 시도 :
그래서 내가 오류입니다
:! cabal install curl
하지만 난 그게 UNIX 또는 Cygwin에서에 있어야한다는 오류가 발생, 그래서 나는 지금, Cygwin에서 설치에 대한 이동 그것은 말합니다 :
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
cabal: Error: some packages failed to install:
curl-1.3.7 failed during the configure step. The exception was:
ExitFailure 77
:! gcc -version
Access is denied
컬 패키지를 다운로드하여 cmd를 사용하여 설치하려고했습니다 : runHaskell Setup.hs configure 이 :
Setup.hs: Missing dependency on a foreign library:
Missing C library: curl
This problem can usually be solved by installing the system package that provides this library (you may need the "-dev" version)
gcc, g ++, libcurl, make cygwin에서 설치를 시도했지만 여전히 실패합니다.
mingw/mysis 설치를 시도했지만 실패했습니다. curl/curl.h가 누락되었습니다.
아무도 성공하지 못했고 그가 어떻게했는지 말할 수 있습니까?