2014-05-13 5 views
1

우분투 13.10을 실행 중이며 페이 설치에 문제가 있습니다.을 사용하여 haskell을 설치했습니다. 나는 cabal install fay 시도하고 나는 다음과 같은 메시지가 나타납니다fay는 어떻게 설치합니까?

$ cabal install fay 
Resolving dependencies... 
Configuring type-eq-0.4.2... 
cabal: The program cpphs is required but it could not be found. 
Failed to install type-eq-0.4.2 
cabal: Error: some packages failed to install: 
fay-0.20.0.0 depends on type-eq-0.4.2 which failed to install. 
haskell-names-0.3.3.2 depends on type-eq-0.4.2 which failed to install. 
type-eq-0.4.2 failed during the configure step. The exception was: 
ExitFailure 1 

나는 cpphs를 설치했지만, 나는 이미 그것을 가지고.

$ cabal install cpphs 
Resolving dependencies... 
All the requested packages are already installed: 
cpphs-1.18.4 
Use --reinstall if you want to reinstall anyway. 

마지막으로, 나는 그 자체로 type-eq를 설치했는데,이 cpphs에 의존 예상대로.

$ cabal install type-eq 
Resolving dependencies... 
Configuring type-eq-0.4.2... 
cabal: The program cpphs is required but it could not be found. 
Failed to install type-eq-0.4.2 
cabal: Error: some packages failed to install: 
type-eq-0.4.2 failed during the configure step. The exception was: 
ExitFailure 1 

어떻게해야합니까? 도움에 미리 감사드립니다. 원래 게시물의 의견에 따르면

+0

'하는 cpphs'의 출력은 무엇인가를 해결하는 데 사용할 수있는 추가 하시겠습니까? –

+0

got cpphs not found aled1027

+2

'~/.cabal/bin'을'PATH'에 추가해야한다고 생각합니다. –

답변

4

는 :

  1. cabal는 이미 찾을 cpphs

  2. which cpphs 명령이 cpphs이하지 않는 것을 의미

  3. 를 찾을 수 없습니다라고 설치할 수없는 불평 셸의 검색 경로

  4. PATH-~/.cabal/bin이 문제