[xmonad] building on OpenSolaris

Günther Schmidt gue.schmidt at web.de
Thu Dec 17 08:27:21 EST 2009


Hi all,

I managed to install ghc 6.10.4 from the tar ball on haskell.org on 
OpenSolaris 2009.06, the X11 package then also installed quite easily 
too via cabal-install.

But when I tried a cabal install xmonad this error occured:

guenni at opensolaris:~$ cabal install xmonad
Resolving dependencies...
Configuring xmonad-0.9...
Preprocessing library xmonad-0.9...
Preprocessing executables for xmonad-0.9...
Building xmonad-0.9...
[1 of 8] Compiling XMonad.StackSet  ( XMonad/StackSet.hs, 
dist/build/XMonad/StackSet.o )
[2 of 8] Compiling XMonad.Core      ( XMonad/Core.hs, 
dist/build/XMonad/Core.o )
[3 of 8] Compiling XMonad.Layout    ( XMonad/Layout.hs, 
dist/build/XMonad/Layout.o )
[4 of 8] Compiling XMonad.Operations ( XMonad/Operations.hs, 
dist/build/XMonad/Operations.o )
[5 of 8] Compiling XMonad.ManageHook ( XMonad/ManageHook.hs, 
dist/build/XMonad/ManageHook.o )
[6 of 8] Compiling XMonad.Config    ( XMonad/Config.hs, 
dist/build/XMonad/Config.o )
[7 of 8] Compiling XMonad.Main      ( dist/build/XMonad/Main.hs, 
dist/build/XMonad/Main.o )

XMonad/Main.hsc:332:21:
     Couldn't match expected type `base:GHC.Word.Word8'
            against inferred type `Char'
       Expected type: KeyCode
       Inferred type: Char
     In the second argument of `(/=)', namely '\NUL'
     In the first argument of `when', namely `(kc /= '\NUL')'
cabal: Error: some packages failed to install:
xmonad-0.9 failed during the building phase. The exception was:
exit: ExitFailure 1


I may be wrong, but doesn't this indicate an error in xmonad's code 
itself, how can that be?

Günther




More information about the xmonad mailing list