我下载了xmonad-extras-0.10.1.2并运行以下命令:xmonad-extras。extras:http://hpaste.org/78707
$cabal configure
Resolving dependencies...
Configuring xmonad-extras-0.10.1.2...
$cabal build
Building xmonad-extras-0.10.1.2...
Preprocessing library xmonad-extras-0.10.1.2...
In-place registering xmonad-extras-0.10.1.2...
It seems ok but there is no compiled Eval.
$find . -name "*.o"
./dist/build/XMonad/Util/WindowPropertiesRE.o
./dist/build/XMonad/Prompt/MPD.o
./dist/build/XMonad/Actions/Volume.o
./dist/build/HSxmonad-extras-0.10.1.2.o
$find . -name "Eval*"
./XMonad/Prompt/Eval.hs
./XMonad/Actions/Eval.hs
Then i tried use Setup.lhs directly:
$runghc Setup.lhs configure
Configuring xmonad-extras-0.10.1.2...
Setup.lhs: At least the following dependencies are missing:
X11 >=1.4.3, mtl -any, xmonad ==0.10.*, xmonad-contrib ==0.10.*
$ghc-pkg list|grep -i xmonad
xmonad-0.10
xmonad-contrib-0.10这是奇怪的,任何建议都很感谢!
发布于 2012-12-03 17:48:15
快速浏览一下,似乎只有在配置包时设置了with_hint标志,才能构建Eval模块。
$ cabal configure -f with_hinthttps://stackoverflow.com/questions/13680506
复制相似问题