how to run xmonad under gnome?

I try to run xmonad under my gnome. I put the code below in my xmonad.hs import XMonad import XMonad.Config.Gnome main = xmonad gnomeConfig not found errors or changes to xmonad.hs won't take effect . I used "ghc-pkg list" and "ghc-pkg check", and I got the things below. How can I fix these things and make the xmonad run under gnome? Thank you in advance! /usr/lib/ghc-6.10.3/./package.conf: Cabal-1.6.0.3, HUnit-1.2.0.3, QuickCheck-1.2.0.0, X11-1.4.5, X11-xft-0.3, array-0.2.0.0, base-3.0.3.1, base-4.1.0.0, bytestring-0.9.1.4, containers-0.2.0.1, directory-1.0.0.3, (dph-base-0.3), (dph-par-0.3), (dph-prim-interface-0.3), (dph-prim-par-0.3), (dph-prim-seq-0.3), (dph-seq-0.3), extensible-exceptions-0.1.1.0, filepath-1.1.0.2, (ghc-6.10.3), ghc-prim-0.1.0.0, haddock-2.4.2, haskell-src-1.0.1.3, haskell98-1.0.1.0, hinotify-0.2, hpc-0.5.0.3, html-1.0.1.2, integer-0.1.0.1, mtl-1.1.0.2, network-2.2.1, old-locale-1.0.0.1, old-time-1.0.0.2, packedstring-0.1.0.1, parallel-1.1.0.1, parsec-2.1.0.1, pretty-1.0.1.0, process-1.0.1.1, random-1.0.0.1, regex-base-0.72.0.2, regex-compat-0.71.0.1, regex-posix-0.72.0.3, rts-1.0, stm-2.1.1.2, syb-0.1.0.1, template-haskell-2.3.0.1, time-1.1.3, unix-2.3.2.0, utf8-string-0.3.4, xhtml-3000.2.0.1 There are problems in package rts-1.0: include-dirs: PAPI_INCLUDE_DIR doesn't exist or isn't a directory The following packages are broken, either because they have a problem listed above, or because they depend on a broken package. rts-1.0 haddock-2.4.2 ghc-6.10.3 ghc-prim-0.1.0.0 integer-0.1.0.1 base-4.1.0.0 syb-0.1.0.1 base-3.0.3.1 array-0.2.0.0 packedstring-0.1.0.1 containers-0.2.0.1 bytestring-0.9.1.4 old-locale-1.0.0.1 old-time-1.0.0.2 filepath-1.1.0.2 unix-2.3.2.0 directory-1.0.0.3 process-1.0.1.1 pretty-1.0.1.0 hpc-0.5.0.3 template-haskell-2.3.0.1 Cabal-1.6.0.3 random-1.0.0.1 haskell98-1.0.1.0 extensible-exceptions-0.1.1.0 regex-base-0.72.0.2 regex-posix-0.72.0.3 regex-compat-0.71.0.1 parsec-2.1.0.1 haskell-src-1.0.1.3 html-1.0.1.2 network-2.2.1 QuickCheck-1.2.0.0 HUnit-1.2.0.3 mtl-1.1.0.2 time-1.1.3 stm-2.1.1.2 xhtml-3000.2.0.1 parallel-1.1.0.1 dph-base-0.3 dph-prim-interface-0.3 dph-prim-seq-0.3 dph-prim-par-0.3 dph-seq-0.3 dph-par-0.3 utf8-string-0.3.4 hinotify-0.2 X11-xft-0.3 X11-1.4.5 _________________________________________________________________ 打工,挣钱,买房子,快来MClub一起”金屋藏娇”! http://club.msn.cn/?from=10

On Tue, Jun 02, 2009 at 10:49:52PM +0800, .shawn wrote:
I try to run xmonad under my gnome. I put the code below in my xmonad.hs
import XMonad
import XMonad.Config.Gnome
main = xmonad gnomeConfig
not found errors or changes to xmonad.hs won't take effect .
I used "ghc-pkg list" and "ghc-pkg check", and I got the things below. How can I fix these things and make the xmonad run under gnome? Thank you in advance!
The xmonad library is not listed in any of this output. Did you not install it? If you installed xmonad from Debian packages, be sure to install libghc6-xmonad-dev and the corresponding contrib package. Cheers, Spencer Janssen
participants (2)
-
.shawn
-
Spencer Janssen