
My xmonad.hs: import XMonad main = xmonad defaultConfig { modMask = mod4Mask , terminal = "xterm" } but after restart xmonad I get the following error message Error detected while loading xmonad configuration file: /home/yuliang/.xmonad/xmonad.hs xmonad.hs:1:7: Could not find module `XMonad': it is a member of the hidden package `xmonad-0.9' Use -v to see a list of the files searched for. Please check the file for errors. -- Sincerely, Yuliang Wang

2010/1/10 Yuliang Wang
xmonad.hs:1:7: Could not find module `XMonad': it is a member of the hidden package `xmonad-0.9' Use -v to see a list of the files searched for.
What does "ghc-pkg check" say? -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com Samuel Goldwyn - "I don't think anyone should write their autobiography until after they're dead." - http://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html

* On Sunday, January 10 2010, Ivan Miljenovic wrote:
2010/1/10 Yuliang Wang
: xmonad.hs:1:7: Could not find module `XMonad': it is a member of the hidden package `xmonad-0.9' Use -v to see a list of the files searched for.
What does "ghc-pkg check" say?
xmonad-0.9 shouldn't be a hidden package... something must be wrong with your xmonad installation. If the only problem is that xmonad-0.9 is hidden, you can correct this with: $ ghc-pkg expose xmonad-0.9 But "ghc-pkg check" might have more to say. Also "ghc-pkg list" -- Adam

The "ghc-pkg check" says
There are problems in package xmonad-0.9.1:
dependency X11-1.5.0.0 doesn't exist
The following packages are broken, either because they have a problem
listed above, or because they depend on a broken package.
xmonad-0.9.1
I installed xmonad through pacman in Arch Linux.
On Sun, Jan 10, 2010 at 1:45 AM, Ivan Miljenovic
2010/1/10 Yuliang Wang
: xmonad.hs:1:7: Could not find module `XMonad': it is a member of the hidden package `xmonad-0.9' Use -v to see a list of the files searched for.
What does "ghc-pkg check" say?
-- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com Samuel Goldwyn - "I don't think anyone should write their autobiography until after they're dead." - http://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html
-- Sincerely, Yuliang Wang

Hi,
2010/1/10 Yuliang Wang
The "ghc-pkg check" says
There are problems in package xmonad-0.9.1: dependency X11-1.5.0.0 doesn't exist
The following packages are broken, either because they have a problem listed above, or because they depend on a broken package. xmonad-0.9.1
I installed xmonad through pacman in Arch Linux.
You didn't by any chance install xmonad from AUR? Because there is a package named "xmonad-darcs 20091222-1" and this package has a dependency to X11-1.5.0.0, which is in [community-testing]. If you really want to use this version you need to set up [community-testing] in /etc/pacman.conf, refresh the database (pacman -S --refresh) and install haskell-x11 from it. However, I'm using [core], [extra] and [community] only. The latter supplies xmonad and xmonad-contrib in version 0.9-2.1. Does everything I want. The drawback of AUR packages is that you need to take of any updates yourself, because AUR doesn't handle those. So if you really want to use it, but you don't update regularly, your xmonad install will eventually become older than the one supplied by [community]. Which is why I would recommend you use xmonad from [community]. HTH & HAND Christian Walther

Maybe I have installed it before by using PKGBUILD, and haven't uninstalled
it properly. How do you uninstall a package built by PKGBUILD?
On Sun, Jan 10, 2010 at 3:50 PM, Christian Walther
Hi,
2010/1/10 Yuliang Wang
: The "ghc-pkg check" says
There are problems in package xmonad-0.9.1: dependency X11-1.5.0.0 doesn't exist
The following packages are broken, either because they have a problem listed above, or because they depend on a broken package. xmonad-0.9.1
I installed xmonad through pacman in Arch Linux.
You didn't by any chance install xmonad from AUR? Because there is a package named "xmonad-darcs 20091222-1" and this package has a dependency to X11-1.5.0.0, which is in [community-testing]. If you really want to use this version you need to set up [community-testing] in /etc/pacman.conf, refresh the database (pacman -S --refresh) and install haskell-x11 from it.
However, I'm using [core], [extra] and [community] only. The latter supplies xmonad and xmonad-contrib in version 0.9-2.1. Does everything I want. The drawback of AUR packages is that you need to take of any updates yourself, because AUR doesn't handle those. So if you really want to use it, but you don't update regularly, your xmonad install will eventually become older than the one supplied by [community]. Which is why I would recommend you use xmonad from [community].
HTH & HAND Christian Walther
-- Sincerely, Yuliang Wang

I checked using yaourt -Ss, it shows the installed version is
community/xmonad0.9-2.1.
On Sun, Jan 10, 2010 at 3:50 PM, Christian Walther
Hi,
2010/1/10 Yuliang Wang
: The "ghc-pkg check" says
There are problems in package xmonad-0.9.1: dependency X11-1.5.0.0 doesn't exist
The following packages are broken, either because they have a problem listed above, or because they depend on a broken package. xmonad-0.9.1
I installed xmonad through pacman in Arch Linux.
You didn't by any chance install xmonad from AUR? Because there is a package named "xmonad-darcs 20091222-1" and this package has a dependency to X11-1.5.0.0, which is in [community-testing]. If you really want to use this version you need to set up [community-testing] in /etc/pacman.conf, refresh the database (pacman -S --refresh) and install haskell-x11 from it.
However, I'm using [core], [extra] and [community] only. The latter supplies xmonad and xmonad-contrib in version 0.9-2.1. Does everything I want. The drawback of AUR packages is that you need to take of any updates yourself, because AUR doesn't handle those. So if you really want to use it, but you don't update regularly, your xmonad install will eventually become older than the one supplied by [community]. Which is why I would recommend you use xmonad from [community].
HTH & HAND Christian Walther
-- Sincerely, Yuliang Wang

I uninstalled xmonad-contrib, xmonad, haskell-x11 and reinstalled only from
community, but I still get the same error saying xmonad-0.9 is hidden, even
after I used "ghc-pkg expose xmonad-0.9"
On Sun, Jan 10, 2010 at 6:55 PM, Yuliang Wang
I checked using yaourt -Ss, it shows the installed version is community/xmonad0.9-2.1.
On Sun, Jan 10, 2010 at 3:50 PM, Christian Walther
wrote: Hi,
2010/1/10 Yuliang Wang
: The "ghc-pkg check" says
There are problems in package xmonad-0.9.1: dependency X11-1.5.0.0 doesn't exist
The following packages are broken, either because they have a problem listed above, or because they depend on a broken package. xmonad-0.9.1
I installed xmonad through pacman in Arch Linux.
You didn't by any chance install xmonad from AUR? Because there is a package named "xmonad-darcs 20091222-1" and this package has a dependency to X11-1.5.0.0, which is in [community-testing]. If you really want to use this version you need to set up [community-testing] in /etc/pacman.conf, refresh the database (pacman -S --refresh) and install haskell-x11 from it.
However, I'm using [core], [extra] and [community] only. The latter supplies xmonad and xmonad-contrib in version 0.9-2.1. Does everything I want. The drawback of AUR packages is that you need to take of any updates yourself, because AUR doesn't handle those. So if you really want to use it, but you don't update regularly, your xmonad install will eventually become older than the one supplied by [community]. Which is why I would recommend you use xmonad from [community].
HTH & HAND Christian Walther
-- Sincerely, Yuliang Wang
-- Sincerely, Yuliang Wang
participants (4)
-
Adam Vogt
-
Christian Walther
-
Ivan Miljenovic
-
Yuliang Wang