2012-11-06 139 views
0

我想在OSX 10.7.5安裝小集團必殺技,但我得到了以下的輸出:Cabal地獄安裝cabal-nirvana?

cabal install cabal-nirvana 
Resolving dependencies... 
Downloading cabal-nirvana-0.2.2... 
Configuring cabal-nirvana-0.2.2... 
Building cabal-nirvana-0.2.2... 
Preprocessing executable 'cabal-nirvana' for cabal-nirvana-0.2.2... 
<command line>: cannot satisfy -package-id HTTP-4000.2.3-c26f702c170ca487dfea54c2f3d6d4c0 
    (use -v for more information) 
cabal: Error: some packages failed to install: 
cabal-nirvana-0.2.2 failed during the building phase. The exception was: 
ExitFailure 1 

任何想法?

萬一有幫助, GHC 7.4.1 小集團安裝:0.14.0

當我做GHC-PKG檢查,我得到下面的輸出:

WARNING: cache is out of date: /Library/Frameworks/GHC.framework/Versions/7.4.1- i386/usr/lib/ghc-7.4.1/package.conf.d/package.cache 
    use 'ghc-pkg recache' to fix. 
Warning: haddock-interfaces: /Library/Haskell/ghc-7.4.1/lib/GLUT-2.1.2.1/doc/html/GLUT.haddock doesn't exist or isn't a file 
Warning: haddock-interfaces: /Library/Haskell/ghc-7.4.1/lib/haskell-platform-2012.2.0.0/doc/html/haskell-platform.haddock doesn't exist or isn't a file 
Warning: haddock-html: /Library/Haskell/ghc-7.4.1/lib/haskell-platform-2012.2.0.0/doc/html doesn't exist or isn't a directory 
+0

會發生什麼事,當你用'GHC-PKG check'? –

+0

我會在輸出的問題 –

回答

1

沒關係。 ..我做了'ghc-pkg recache'和一個'sudo cabal update cabal-install',然後我能夠安裝cabal-nirvana而沒有問題...這裏的關鍵字似乎是'sudo'... D '哦!

...並以「沒關係」我說的不是涅槃專輯:)

+1

呃,哎呀,你真的很少應該使用'sudo cabal install'。你確定在這種情況下是合理的嗎? – Tarrasch

+0

我不知道...什麼是更好的選擇? –

+1

千萬不要在cabal上使用'sudo'。 –