You are not logged in.
My xmonad.hs reads like so:
import XMonad
main = xmonad $ defaultConfig
{ borderWidth = 2
, terminal = "gnome-terminal"
, normalBorderColor = "#cccccc"
, focusedBorderColor = "#4400cc" }
So it's a very simple configuration. However, ghci as well as Xmonad give me an error. Running ghci -v xmonad.hs gave me this result:
xmonad.hs:1:7:
Could not find module `XMonad':
locations searched:
XMonad.hs
XMonad.lhs
Failed, modules loaded: none.
I even tried doing the gnome configuration, but it did not work. Simply, it's impossible to import Xmonad files; can anybody lead me in the right direction? I have xmonad-contrib installed too.
Intrepid (adj.): Resolutely courageous; fearless.
Offline
Your config file appears to be set up correctly. I would recommend reinstalling xmonad to make sure you installed it in the right order. From the wiki you should install them as such:
* haskell-x11-darcs
* xmonad-darcs
* xmonad-contrib-darcs
This is assuming that you are using xmonad-darcs.
Offline
Actually, I compiled xmonad-darcs as per your suggestion. I had no problem afterward. This is in complete contrast to the repos. Thanks for the suggestion!
PS: how do I mark this as solved?
Last edited by Intrepid (2009-01-01 01:40:50)
Intrepid (adj.): Resolutely courageous; fearless.
Offline
edit your first post and prepend [SOLVED] to the title
Offline
You probably miss haskell-x11.
Use the Source, Luke!
Offline
Are you using ghc from testing? I think the repo's version of xmonad won't work with it because the directory where modules are found changes between version changes.
(lambda ())
Offline