2012-12-02 37 views
-1

Havenot hackage中的软件测试过了吗? cabal install xmonad-eval甚至会导致以下错误:无法安装xmonad-extras?

$cabal install xmonad-extras 
...  
[10 of 22] Compiling Hint.Reflection (src/Hint/Reflection.hs, dist/build/Hint/Reflection.o) 
src/Hint/Reflection.hs:75:41: 
Couldn't match expected type `[Char]' with actual type `a0 -> String' 
Expected type: Id 
Actual type: a0 -> String 
In the return type of a call of `getUnqualName' 
In the first argument of `Class', namely `(getUnqualName c)' 
Failed to install hint-0.3.3.5 
cabal: Error: some packages failed to install: 
hint-0.3.3.5 failed during the building phase. The exception was: 
ExitFailure 1 
xmonad-extras-0.10.1.2 depends on hint-0.3.3.5 which failed to install. 

任何建议表示赞赏!

+4

一种上传方式,差不多四年前:Sun Feb 22 15:11:28 UTC 2009.看起来像一个被遗弃的包。 2009年初是ghc-6.10左右。你可以通过'cabal unpack'编辑它并编辑'.cabal'和源代码直到它建立起来。 –

+0

这样的包应该从hackage中移除? –

+0

没有。有一个代码存档是很好的。存在瑕疵本身并不能保证质量或缺乏甜味。 – sclv

回答

0

通过将GHC从7.0.3升级到7.4.1,它效果很好。