[Xmonad] Current darcs version doesn't compile

David Benbennick dbenbenn at gmail.com
Wed Oct 10 12:49:44 EDT 2007

The current version of xmonad in darcs doesn't compile for me:

$ darcs get http://code.haskell.org/xmonad
Copying patch 694 of 694... done!
Applying patch 694 of 694... done.
Finished getting.
$ cd xmonad/
$ chmod u+x Setup.lhs
$ ./Setup.lhs configure
Configuring xmonad-0.3...
configure: Dependency base>=2.0: using base-2.1.1
configure: Dependency X11>=1.2.1: using X11-1.2.1
configure: Dependency X11-extras>=0.3: using X11-extras-0.3
configure: Dependency mtl>=1.0: using mtl-1.0.1
configure: Dependency unix>=1.0: using unix-2.1
configure: Using install prefix: /usr/local
configure: Binaries installed in: /usr/local/bin
configure: Libraries installed in: /usr/local/lib/xmonad-0.3/ghc-6.6.1
configure: Private binaries installed in: /usr/local/libexec
configure: Data files installed in: /usr/local/share/xmonad-0.3
configure: Using compiler: /home/dbenbenn/apps/bin/ghc
configure: Compiler flavor: GHC
configure: Compiler version: 6.6.1
configure: Using package tool: /home/dbenbenn/apps/bin/ghc-pkg
configure: Using ar found on system at: /usr/bin/ar
configure: No haddock found
configure: No pfesetup found
configure: Using ranlib found on system at: /usr/bin/ranlib
configure: Using runghc found on system at: /home/dbenbenn/apps/bin/runghc
configure: No runhugs found
configure: No happy found
configure: No alex found
configure: Using hsc2hs: /home/dbenbenn/apps/bin/hsc2hs
configure: No c2hs found
configure: No cpphs found
configure: No greencard found
$ ./Setup.lhs build
Preprocessing executables for xmonad-0.3...
Building xmonad-0.3...
[1 of 6] Compiling StackSet         ( StackSet.hs,
dist/build/xmonad/xmonad-tmp/StackSet.o )

    Warning: Pattern match(es) are non-exhaustive
             In the definition of `view': Patterns not matched: _ _
[2 of 6] Compiling XMonad           ( XMonad.hs,
dist/build/xmonad/xmonad-tmp/XMonad.o )
[3 of 6] Compiling Config[boot]     ( Config.hs-boot, nothing )
[4 of 6] Compiling Operations       ( Operations.hs,
dist/build/xmonad/xmonad-tmp/Operations.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:258:7: Not in scope: data constructor `PropertyEvent'

Main.hs:258:42: Not in scope: `ev_atom'

Maybe a dependency is missing from the configure step?  Any ideas?  I
was able to compile from darcs two weeks ago.

More information about the Xmonad mailing list