Why cannot xmonad find a existng module ?

hi, friends I am using archlinux and both xmonad and xmonad-contrib are installed by pacman. %pacman -Q|grep xmonad xmonad 0.9.1-4 xmonad-contrib 0.9.1-2 %%xmonad --recompile Error detected while loading xmonad configuration file: /home/sw2wolf/.xmonad/xmonad.hs xmonad.hs:20:7: Could not find module `XMonad.Layout.LayoutHints': Use -v to see a list of the files searched for. %ghc-pkg list|grep xmonad xmonad-0.9.1 xmonad-contrib-0.9.1 %pacman -Ql xmonad-contrib|grep LayoutHints xmonad-contrib /usr/lib/ghc-6.12.1/site-local/xmonad-contrib-0.9.1/XMonad/Layout/LayoutHints.hi %ghc-pkg field xmonad-contrib exposed-modules | grep LayoutHints XMonad.Layout.LayoutCombinators XMonad.Layout.LayoutHints Sincerely!

I did say to include your xmonad.hs as well so we can see if there's
something obviously wrong there...
"z_axis@163.com"
hi, friends I am using archlinux and both xmonad and xmonad-contrib are installed by pacman. %pacman -Q|grep xmonad xmonad 0.9.1-4 xmonad-contrib 0.9.1-2
%%xmonad --recompile Error detected while loading xmonad configuration file: /home/sw2wolf/.xmonad/xmonad.hs
xmonad.hs:20:7: Could not find module `XMonad.Layout.LayoutHints': Use -v to see a list of the files searched for.
%ghc-pkg list|grep xmonad xmonad-0.9.1 xmonad-contrib-0.9.1
%pacman -Ql xmonad-contrib|grep LayoutHints xmonad-contrib /usr/lib/ghc-6.12.1/site-local/xmonad-contrib-0.9.1/XMonad/Layout/LayoutHints.hi
%ghc-pkg field xmonad-contrib exposed-modules | grep LayoutHints XMonad.Layout.LayoutCombinators XMonad.Layout.LayoutHints
Sincerely! _______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
-- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com

* On Monday, May 10 2010, Ivan Lazar Miljenovic wrote:
I did say to include your xmonad.hs as well so we can see if there's something obviously wrong there...
"z_axis@163.com"
writes: hi, friends I am using archlinux and both xmonad and xmonad-contrib are installed by pacman. %pacman -Q|grep xmonad xmonad 0.9.1-4 xmonad-contrib 0.9.1-2
%%xmonad --recompile Error detected while loading xmonad configuration file: /home/sw2wolf/.xmonad/xmonad.hs
xmonad.hs:20:7: Could not find module `XMonad.Layout.LayoutHints': Use -v to see a list of the files searched for.
%ghc-pkg list|grep xmonad xmonad-0.9.1 xmonad-contrib-0.9.1
%pacman -Ql xmonad-contrib|grep LayoutHints xmonad-contrib /usr/lib/ghc-6.12.1/site-local/xmonad-contrib-0.9.1/XMonad/Layout/LayoutHints.hi
%ghc-pkg field xmonad-contrib exposed-modules | grep LayoutHints XMonad.Layout.LayoutCombinators XMonad.Layout.LayoutHints
How about `ghc-pkg check'? -- Adam

Adam Vogt
How about `ghc-pkg check'?
On -cafe, we went through ghc-pkg check, ensuring that ghc-pkg knew that xmonad-contrib had that module, etc. I'm thinking that there might be some typo in the config file but z_axis is typing it by hand here and so it's right... -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com
participants (3)
-
Adam Vogt
-
Ivan Lazar Miljenovic
-
z_axis@163.com