<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
I try to run xmonad under my gnome. I put the code below in my xmonad.hs<br>
<br>
import XMonad<br>
import XMonad.Config.Gnome<br>
 <br>
main = xmonad gnomeConfig<br>
<br>
not found errors or changes to xmonad.hs won't take effect .&nbsp; <br>
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!<br>
<br>
/usr/lib/ghc-6.10.3/./package.conf:<br>
&nbsp; &nbsp; Cabal-1.6.0.3, HUnit-1.2.0.3, QuickCheck-1.2.0.0, X11-1.4.5,<br>
&nbsp; &nbsp; X11-xft-0.3, array-0.2.0.0, base-3.0.3.1, base-4.1.0.0,<br>
&nbsp; &nbsp; bytestring-0.9.1.4, containers-0.2.0.1, directory-1.0.0.3,<br>
&nbsp; &nbsp; (dph-base-0.3), (dph-par-0.3), (dph-prim-interface-0.3),<br>
&nbsp; &nbsp; (dph-prim-par-0.3), (dph-prim-seq-0.3), (dph-seq-0.3),<br>
&nbsp; &nbsp; extensible-exceptions-0.1.1.0, filepath-1.1.0.2, (ghc-6.10.3),<br>
&nbsp; &nbsp; ghc-prim-0.1.0.0, haddock-2.4.2, haskell-src-1.0.1.3,<br>
&nbsp; &nbsp; haskell98-1.0.1.0, hinotify-0.2, hpc-0.5.0.3, html-1.0.1.2,<br>
&nbsp; &nbsp; integer-0.1.0.1, mtl-1.1.0.2, network-2.2.1, old-locale-1.0.0.1,<br>
&nbsp; &nbsp; old-time-1.0.0.2, packedstring-0.1.0.1, parallel-1.1.0.1,<br>
&nbsp; &nbsp; parsec-2.1.0.1, pretty-1.0.1.0, process-1.0.1.1, random-1.0.0.1,<br>
&nbsp; &nbsp; regex-base-0.72.0.2, regex-compat-0.71.0.1, regex-posix-0.72.0.3,<br>
&nbsp; &nbsp; rts-1.0, stm-2.1.1.2, syb-0.1.0.1, template-haskell-2.3.0.1,<br>
&nbsp; &nbsp; time-1.1.3, unix-2.3.2.0, utf8-string-0.3.4, xhtml-3000.2.0.1<br>
<br>
There are problems in package rts-1.0:<br>
&nbsp; include-dirs: PAPI_INCLUDE_DIR doesn't exist or isn't a directory<br>
<br>
The following packages are broken, either because they have a problem<br>
listed above, or because they depend on a broken package.<br>
rts-1.0<br>
haddock-2.4.2<br>
ghc-6.10.3<br>
ghc-prim-0.1.0.0<br>
integer-0.1.0.1<br>
base-4.1.0.0<br>
syb-0.1.0.1<br>
base-3.0.3.1<br>
array-0.2.0.0<br>
packedstring-0.1.0.1<br>
containers-0.2.0.1<br>
bytestring-0.9.1.4<br>
old-locale-1.0.0.1<br>
old-time-1.0.0.2<br>
filepath-1.1.0.2<br>
unix-2.3.2.0<br>
directory-1.0.0.3<br>
process-1.0.1.1<br>
pretty-1.0.1.0<br>
hpc-0.5.0.3<br>
template-haskell-2.3.0.1<br>
Cabal-1.6.0.3<br>
random-1.0.0.1<br>
haskell98-1.0.1.0<br>
extensible-exceptions-0.1.1.0<br>
regex-base-0.72.0.2<br>
regex-posix-0.72.0.3<br>
regex-compat-0.71.0.1<br>
parsec-2.1.0.1<br>
haskell-src-1.0.1.3<br>
html-1.0.1.2<br>
network-2.2.1<br>
QuickCheck-1.2.0.0<br>
HUnit-1.2.0.3<br>
mtl-1.1.0.2<br>
time-1.1.3<br>
stm-2.1.1.2<br>
xhtml-3000.2.0.1<br>
parallel-1.1.0.1<br>
dph-base-0.3<br>
dph-prim-interface-0.3<br>
dph-prim-seq-0.3<br>
dph-prim-par-0.3<br>
dph-seq-0.3<br>
dph-par-0.3<br>
utf8-string-0.3.4<br>
hinotify-0.2<br>
X11-xft-0.3<br>
X11-1.4.5<br /><hr />把MSN装进手机,更多聊天乐趣等你挖掘! <a href='http://mobile.msn.com.cn/' target='_new'>立刻下载!</a></body>
</html>