0

I downloaded xmonad-extras-0.10.1.2 and ran the following: 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

It is strange , any suggestion is appreciated !

jberryman
  • 16,334
  • 5
  • 42
  • 83
z_axis
  • 8,272
  • 7
  • 41
  • 61
  • 1
    For the second part, the `runghc ./Setup.lhs` way uses global installs by default, and thus can only use packages from the global db unless you explicitly pass the `--user` flag to the configure step. `cabal install` by default makes user installs. The "missing" libraries are in your user db. – Daniel Fischer Dec 03 '12 at 09:54

1 Answers1

2

From a quick glance, it looks like the Eval modules are only built if you set the with_hint flag when configuring the package.

$ cabal configure -f with_hint
dave4420
  • 46,404
  • 6
  • 118
  • 152