can't compile darcs repository

Hi, I'm having problems compiling xmonad (see attached log) from the darcs repository (for reference I got it by darcs get --partial http://darcs.haskell.org/~sjanssen/xmonad http://darcs.haskell.org/%7Esjanssen/xmonad) The current official snapshot (from http://hackage.haskell.org/cgi-bin/hackage-scripts/package/xmonad-0.2 ) compiles and runs on the same machine: debian "lenny" - the output of ghc-pkg list is /usr/lib/ghc-6.6/package.conf: Cabal-1.1.6, base-2.0, (ghc-6.6), haskell98-1.0, mtl-1.0, parsec-2.0, readline-1.0, regex-base-0.71, regex-compat-0.71, regex-posix-0.71, rts-1.0, stm-2.0, template-haskell-2.0, unix-1.0 /home/avrozen/.ghc/i386-linux-6.6/package.conf: X11-1.2.2, X11-extras-0.2 Cheers, Avi. Preprocessing executables for xmonad-0.2... Building xmonad-0.2... [1 of 6] Compiling StackSet ( StackSet.hs, dist/build/xmonad/xmonad-tmp/StackSet.o ) StackSet.hs:281:0: Warning: Pattern match(es) are non-exhaustive In the definition of `focusUp'': Patterns not matched: Empty StackSet.hs:284:0: Warning: Pattern match(es) are non-exhaustive In the definition of `swapUp'': Patterns not matched: Empty StackSet.hs:370:11: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: Empty StackSet.hs:394:34: Warning: Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: Empty [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 ) Operations.hs:199:9: Not in scope: `changeProperty32' Operations.hs:205:12: Not in scope: `unmapWindow' Operations.hs:510:15: Not in scope: `getWMNormalHints' Operations.hs:524:18: Not in scope: type constructor or class `SizeHints' Operations.hs:526:51: Not in scope: `sh_max_size' Operations.hs:527:51: Not in scope: `sh_base_size' Operations.hs:528:51: Not in scope: `sh_resize_inc' Operations.hs:529:51: Not in scope: `sh_aspect' Operations.hs:530:51: Not in scope: `sh_base_size'

avi.rozen:
Hi,
I'm having problems compiling xmonad (see attached log)
from the darcs repository (for reference I got it by
Thanks for the detailed bug report! I wish all were this thorough.
darcs get --partial [1]http://darcs.haskell.org/~sjanssen/xmonad)
Almost all build problems with the darcs repo (all?) are due to not using the darcs version of X11-extras. Grab that from: darcs get --partial http://darcs.haskell.org/~sjanssen/X11-extras
The current official snapshot (from
[2]http://hackage.haskell.org/cgi-bin/hackage-scripts/packag e/xmonad-0.2 )
compiles and runs on the same machine:
debian "lenny" - the output of ghc-pkg list is
/usr/lib/ghc-6.6/package.conf: Cabal-1.1.6, base-2.0, (ghc-6.6), haskell98-1.0, mtl-1.0, parsec-2.0, readline-1.0, regex-base-0.71, regex-compat-0.71, regex-posix-0.71, rts-1.0, stm-2.0, template-haskell-2.0, unix-1.0 /home/avrozen/.ghc/i386-linux-6.6/package.conf: X11-1.2.2, X11-extras-0.2
Thanks, Don

Works. Thanks. A relevant comment in README may be in order... Donald Bruce Stewart wrote:
avi.rozen:
Hi,
I'm having problems compiling xmonad (see attached log)
from the darcs repository (for reference I got it by
Thanks for the detailed bug report! I wish all were this thorough.
darcs get --partial [1]http://darcs.haskell.org/~sjanssen/xmonad)
Almost all build problems with the darcs repo (all?) are due to not using the darcs version of X11-extras.
Grab that from:
darcs get --partial http://darcs.haskell.org/~sjanssen/X11-extras
The current official snapshot (from
[2]http://hackage.haskell.org/cgi-bin/hackage-scripts/packag e/xmonad-0.2 )
compiles and runs on the same machine:
debian "lenny" - the output of ghc-pkg list is
/usr/lib/ghc-6.6/package.conf: Cabal-1.1.6, base-2.0, (ghc-6.6), haskell98-1.0, mtl-1.0, parsec-2.0, readline-1.0, regex-base-0.71, regex-compat-0.71, regex-posix-0.71, rts-1.0, stm-2.0, template-haskell-2.0, unix-1.0 /home/avrozen/.ghc/i386-linux-6.6/package.conf: X11-1.2.2, X11-extras-0.2
Thanks,
Don
participants (2)
-
Avi Rozen
-
dons@cse.unsw.edu.au