2014-09-11 3 views
1

경고를 설치 오류 : 여기에 새로운 하스켈 사용자 내가 하스켈 플랫폼 2014.2.0.0에 Hoogle의 CLI 버전을 설치하려고 해요hoogle 4.2.34는 "예상과 일치 할 수 없습니다 유형 'CompilerId'"W Mac에서

을 Mac OS X Maverick의 경우 64 비트입니다. ghcjs 지원 및 ghc 7.8.3을 사용하여 cabal 1.21.0.0을 설치했습니다. https://github.com/ndmitchell/hoogle/issues/84 :

다음은 $cabal install hoogle

[25 of 75] Compiling Web.Page   (src/Web/Page.hs, dist/build/hoogle/hoogle-tmp/Web/Page.o) 
[26 of 75] Compiling Recipe.Haddock (src/Recipe/Haddock.hs, dist/build/hoogle/hoogle-tmp/Recipe/Haddock.o) 
[27 of 75] Compiling Recipe.Cabal  (src/Recipe/Cabal.hs, dist/build/hoogle/hoogle-tmp/Recipe/Cabal.o) 

src/Recipe/Cabal.hs:33:74: 
    Couldn't match expected type ‘CompilerId’ 
       with actual type ‘Maybe CompilerId -> CompilerId’ 
Probable cause: ‘comp’ is applied to too few arguments 
    In the fourth argument of ‘finalizePackageDescription’, namely 
     ‘comp’ 
    In the expression: 
     finalizePackageDescription [] (const True) plat comp [] pkg 
cabal: Error: some packages failed to install: 
hoogle-4.2.34 failed during the building phase. The exception was: 
ExitFailure 1 
+0

컴파일시 타입 오류로 인해 'Y-a'와 'Z'에 대해 'X'를 빌드하고 있음을 의미하지만 'Z' 자체는'Y-b '를 사용합니다. 그런 갈등이 있습니까? ('ghc-pkg list'와 패키지의 여러 버전 검색) – user2407038

답변

3

내가 이것에 대해 문제를 열었다을 실행 한 출력됩니다. 나는 그것을 바로 잡아 당기기를 요구하고있다.

EDIT 신경 쓰지 마세요. 이것은 Hoogle의 버그는 아닙니다. 너와 나는 실험적인 Cabal을 급격한 변화로 설치했다. 아직 Hoogle을 조정할 방법이 없습니다. 설치하려면 cabal install hoogle --constraint 'Cabal < 1.21'을 사용하십시오.

+0

감사합니다. – KinGBin