[Xmonad] error compiling NoBorders
stefanor at cox.net
Sat Jun 23 11:07:01 EDT 2007
On Sat, Jun 23, 2007 at 01:02:15PM +0200, Tobias Hammerschmidt wrote:
> Hi @ all,
> I've got a problem (once again). I'd like to hold presentations in fullscreen
> mode. Therefore I tried to build xmonad with the module NoBorders. But when
> I'm going to compile xmonad I'm getting the following error:
> $ runghc Setup.lhs build
> Preprocessing executables for xmonad-0.2...
> Building xmonad-0.2...
> [4 of 8] Compiling Config[boot] ( Config.hs-boot, nothing )
> [7 of 8] Compiling Config ( Config.hs,
> dist/build/xmonad/xmonad-tmp/Config.o )
> Warning: Definition but no type signature for `layouts'
> [8 of 8] Compiling Main ( Main.hs,
> dist/build/xmonad/xmonad-tmp/Main.o )
> Ambiguous occurrence `layouts'
> It could refer to either `layouts', imported from XMonad at
> or `layouts', imported from Config at Main.hs:31:0-12
> (defined at Config.hs:33:0)
> Sorry but my haskell knowledge is slightly above >>putStrLn "Hello world!"<<
> so I'm not able to fix it myself (however I hope that I can dive into haskell
> after my exams in july).
> PS: I followed the usage description in the module NoBorders. Xmonad and
> XMonadContrib are from darcs (pulled yesterday).
Looks like it :) The NoBorders module description appears to have been
typoed. You would want to modify the existing defaultLayouts = [ ... ]
line, not add a new layouts = [ ... ] line.
More information about the Xmonad