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

一見すると、Evalモジュールはwith_hint、パッケージの構成時にフラグを設定した場合にのみ構築されるように見えます。

$ cabal configure -f with_hint
于 2012-12-03T09:48:15.163 に答える