0

我下载了 xmonad-extras-0.10.1.2 并运行以下命令:xmonad-extras.cabal: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

很奇怪,任何建议表示赞赏!

4

1 回答 1

2

一眼看去,似乎只有with_hint在配置包时设置标志时才会构建 Eval 模块。

$ cabal configure -f with_hint
于 2012-12-03T09:48:15.163 回答