
Hello. I'm trying install xmonad (0.4.1). I use debian linux 4.0 r1 I've installed new version of ghc: 6.8.1, version of X11 is 1.3.0. When I configure xmonad (runhaskell Setup.lhs configure) I get error: ------------------- XMonad.hs:42:17: Could not find module `Data.Set': it is a member of package containers-0.1.0.0, which is hidden ------------------- Can anybody help me? P.S. With older version of ghc (from debian distr, I had problem to install old-time and old-locale packages...). P.S.S. I'm novice in haskell. Is there any tutorial how to install (update) new haskell packages (for ghc)?

В Tue, 04 Dec 2007 17:11:16 +0600
Nikitin Lev
Hello.
I'm trying install xmonad (0.4.1). I use debian linux 4.0 r1 I've installed new version of ghc: 6.8.1, version of X11 is 1.3.0. When I configure xmonad (runhaskell Setup.lhs configure) I get error:
------------------- XMonad.hs:42:17: Could not find module `Data.Set': it is a member of package containers-0.1.0.0, which is hidden -------------------
I can confirm this problem on Source Mage. Recently i had updated ghc to 6.8.1 and xmonad to 0.4.1. On one box everything worked fine, but on another i've got the same problem. I tried to hide/expose containers with ghc-pkg, but it didn't helped. -- Alexander Tsamutali

On 12/4/07, Alexander Tsamutali
I can confirm this problem on Source Mage. Recently i had updated ghc to 6.8.1 and xmonad to 0.4.1. On one box everything worked fine, but on another i've got the same problem. I tried to hide/expose containers with ghc-pkg, but it didn't helped.
This resembles my problem, described at http://hpaste.org/4182 Until I know, what's wrong, I use this patented trick to install xmonad & XMonadContrib: $ for f in ghc{,-pkg}; do mv ~/bin/{,_}$f; done ... your normal configure/build/install procedure ... $ for f in ghc{,-pkg}; do mv ~/bin/{_,}$f; done -- vvv

astsmtl:
В Tue, 04 Dec 2007 17:11:16 +0600 Nikitin Lev
пишет: Hello.
I'm trying install xmonad (0.4.1). I use debian linux 4.0 r1 I've installed new version of ghc: 6.8.1, version of X11 is 1.3.0. When I configure xmonad (runhaskell Setup.lhs configure) I get error:
------------------- XMonad.hs:42:17: Could not find module `Data.Set': it is a member of package containers-0.1.0.0, which is hidden -------------------
I can confirm this problem on Source Mage. Recently i had updated ghc to 6.8.1 and xmonad to 0.4.1. On one box everything worked fine, but on another i've got the same problem. I tried to hide/expose containers with ghc-pkg, but it didn't helped.
You'll need to update the .cabal file, or use the xmonad 0.5 (darcs) branch. Ghc 6.8, with the base package split up, happened just after 0.4.1 came out. See this faq, http://haskell.org/haskellwiki/Xmonad/Frequently_asked_questions#Building_xm... Cheers, Don
participants (4)
-
Alexander Tsamutali
-
Don Stewart
-
Nikitin Lev
-
Valery V. Vorotyntsev