2016-10-26 2 views
0

내 노트북과 PC 용 windows 10 용 haskell 플랫폼을 처음 설치 (https://www.haskell.org/platform/windows.html)하고 있습니다.haskell cabal과의 설치 오류

내 PC가 정상적으로 설치되며 아무런 문제없이 cabal install hsdev을 실행할 수 있습니다. 나는 내 노트북에 동일한 과정을 수행 할 때, 다음과 같은 오류가 발생합니다 :

Resolving dependencies... 
Configuring old-time-1.1.0.3... 
Failed to install old-time-1.1.0.3 
Build log (C:\Users\user\AppData\Roaming\cabal\logs\old-time-1.1.0.3.log): 
Configuring old-time-1.1.0.3... 
configure: error: invalid package name: 0 
\old-time-1.1.0.3' 
cabal: Leaving directory 'C:\Users\user\AppData\Local\Temp\cabal-tmp-7388\old-time-1.1.0.3' 
cabal: Error: some packages failed to install: 
old-time-1.1.0.3 failed during the configure step. The exception was: 
ExitFailure 

단지 표준 출력이

어떤 아이디어가 위에 표시 반복 로그?

+0

어쩌면 [스택] (https://docs.haskellstack.org/en/stable/GUIDE/)을 시도해보십시오 ..? – mb21

+0

하지만이 방법이 효과가 있습니다. 그것은 두 컴퓨터에서 동일한 설정이고 그 중 하나만 작동합니다. – Lucidnonsense

+0

ok, 그러나 haskell-platform 사이트의 지침에 따라 msys 디렉토리를 나열하도록 구성 파일을 수정했습니다. – Lucidnonsense

답변

0

일반적으로이 플랫폼의 지시로 (cabal user-config init을 실행하여 검색 가능) 귀하의 음모의 설정에 다음 행을 추가하지 않음으로써 발생 제안 :

extra-prog-path: C:\Program Files\Haskell Platform\8.2.2\msys\usr\bin 
extra-lib-dirs: C:\Program Files\Haskell Platform\8.2.2\mingw\lib 
extra-include-dirs: C:\Program Files\Haskell Platform\8.2.2\mingw\include 

(플랫폼의 해당 버전에 대해 설정 한 경로에.)