나는 처음에 Hlint를 설치하려고했습니다. cabal install hlint
하지만 난 오류가있어 (?) 나는 hlint 해당 패키지의 의존성 것을 읽을 수 있기 때문에 hlint를 설치하려고 할 때 구시간 - 1.1.0.3을 둘러싼 오류가 발생합니다.
cabal: Error: some packages failed to install:
cpphs-1.20.2 depends on old-time-1.1.0.3 which failed to install.
haskell-src-exts-1.18.2 depends on old-time-1.1.0.3 which failed to install.
hlint-1.9.37 depends on old-time-1.1.0.3 which failed to install.
old-time-1.1.0.3 failed during the configure step. The exception was:
ExitFailure 77
가 그럼 난 GHC-모드를 설치하려고합니다. 문제가 해결 될 수 있다고 생각합니다. 그래서 나는 내게 오류를 준
cabal install ghc-mod
을했다.
cabal: Error: some packages failed to install:
cpphs-1.20.2 depends on old-time-1.1.0.3 which failed to install.
ghc-mod-5.6.0.0 depends on old-time-1.1.0.3 which failed to install.
haskell-src-exts-1.17.1 depends on old-time-1.1.0.3 which failed to install.
hlint-1.9.35 depends on old-time-1.1.0.3 which failed to install.
old-time-1.1.0.3 failed during the configure step. The exception was:
ExitFailure 77
그래서 내 패키지 old-time-1.1.0.3
주위에 같은 문제로 보인다 난 정말이 문제를 해결하는 방법을 잘 모릅니다. 어떤 팁?
해결책 :
다음 줄을 포함하기 위해 음모 설정 파일 (당신이 "음모 사용자 설정 초기화"를 실행하여 위치를 확인 할 수 있습니다) 수정의
extra-prog-path: C:\Program Files\Haskell Platform\8.0.1\msys\usr\bin
extra-lib-dirs: C:\Program Files\Haskell Platform\8.0.1\mingw\lib
extra-include-dirs: C:\Program Files\Haskell Platform\8.0.1\mingw\include
이러한 문제가 실제로 해결되기를 바란다면, (적어도 실패한 명령의 결과에는'-v3'을 사용하여) 훨씬 더 자세하게 설명해야합니다. 빠른 google 검색 결과에 따르면 gcc의 설치가 잘못되었거나 (또는 ghc가 다른 c 컴파일러를 사용해야하는 것보다) – user2407038