[Xmonad] Compile error

Stefan O'Rear stefanor at cox.net
Wed May 16 20:58:37 EDT 2007


On Wed, May 09, 2007 at 09:02:56AM +0200, Kai Grossjohann wrote:
> I just ran "darcs pull", then configure, and then build.  I get this
> compiler error:
> 
> ketchup% runhaskell Setup.lhs build                   
> Preprocessing executables for xmonad-0.1...
> Building xmonad-0.1...
> [1 of 6] Compiling StackSet         ( StackSet.hs, dist/build/xmonad/xmonad-tmp/StackSet.o
>  )
> 
> StackSet.hs:221:0: Warning: Defined but not used: `isFloat'
> [3 of 6] Compiling Config[boot]     ( Config.hs-boot, nothing )
> [4 of 6] Compiling Operations       ( Operations.hs, dist/build/xmonad/xmonad-tmp/Operatio
> ns.o )
> [5 of 6] Compiling Config           ( Config.hs, dist/build/xmonad/xmonad-tmp/Config.o )
> [6 of 6] Compiling Main             ( Main.hs, dist/build/xmonad/xmonad-tmp/Main.o )
> 
> Main.hs:157:32:
>     Couldn't match expected type `Display'
>            against inferred type `Event'
>     In the first argument of `refreshKeyboardMapping', namely `e'
>     In the second argument of `($)', namely `refreshKeyboardMapping e'
>     In the expression: io $ (refreshKeyboardMapping e)

Recent xmonad is incompatible with old x11-extras, and conversely.
Upgrade one or downgrade the other. 

Stefan


More information about the Xmonad mailing list