
I'm on arch linux, 64 bit. I recently auto-upgraded a bunch of packages, and now even the simplest xmonad.hs file fails to compile. Given this xmonad.hs : import XMonad main = xmonad defaultConfig { modMask = mod4Mask , terminal = "lxterminal" -- more changes } I get the error: xmonad.hs:1:7: Could not find module Xmonad it is not a module in the current program or in any known package. Apparently the XMonad module is not in the current ghc path or something. It's been a while since I've used ghc so I'm not sure how to fix this.

mattcbro:
I'm on arch linux, 64 bit. I recently auto-upgraded a bunch of packages, and now even the simplest xmonad.hs file fails to compile. Given this xmonad.hs :
import XMonad
main = xmonad defaultConfig { modMask = mod4Mask , terminal = "lxterminal" -- more changes }
I get the error: xmonad.hs:1:7: Could not find module Xmonad it is not a module in the current program or in any known package.
Apparently the XMonad module is not in the current ghc path or something. It's been a while since I've used ghc so I'm not sure how to fix this.
This is an Arch Linux issue. GHC has been updated to 6.10.4, but not all the packages that are built against 6.10.3 APIs. Don't update yet (or update the dependencies yourself via cabal-install).

On Sun, 2009/07/26 20:20:08 -0400, Matthew wrote:
I'm on arch linux, 64 bit. I recently auto-upgraded a bunch of packages, and now even the simplest xmonad.hs file fails to compile.
I’m also on 64-bit Arch Linux, and I also recently updated packages. I noticed that ghc was one of the packages that was updated this morning. It is now version 6.10.4-1. I just tried recompiling my xmonad, and I got the error Could not find module `XMonad.Util.Run': it is not a module in the current program, or in any known package. I see some posts that seem relevant at http://bbs.archlinux.org/viewtopic.php?pid=591008 , but I haven’t the time to investigate or fix it right now.
participants (3)
-
Don Stewart
-
lithis
-
Matthew