我正在尝试在 OSX 10.7.5 上安装 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 cabal-install: 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