You are not logged in.
Whenever I start-up xmonad, or press moq+q in-order to reload my xmonad configuration file (~/.xmoand/xmoad.hs) I get an error: http://pastebin.ca/863289 (~/.xmonad/xmonad.error)
Here's my ~/.xmonad/xmonad.hs: http://pastebin.ca/863291
It's important to notice that xmonad does work and I can do whatever I want except for reloading my configuration file.
Thanks in advance, Ido.
Last edited by ido (2008-01-19 20:01:07)
Offline
That's odd, it's supposed to be installed.
The xmonad package in community puts it here:
/usr/lib/ghc-6.8.1/site-local/xmonad-0.5/XMonad/StackSet.hi
How did you install xmonad?
Offline
I installed xmonad via
pacman -S xmonad
Here's where StackSet is:
ido@brisbane ~]$ slocate StackSet
/usr/lib/ghc-6.8.1/site-local/xmonad-0.5/XMonad/StackSet.hi
It's important to mention that dynamically loading the configuration file did work before I updated the entire system via
pacman -Syu
Thanks in advance, Ido.
Offline
It's important to mention that dynamically loading the configuration file did work before I updated the entire system via
pacman -Syu
Thanks in advance, Ido.
Hi, just like to notice that I just did a pacman -Syu today too and noticed that it installed a newer version of ghc, maybe this is somehow related to your issue.
Offline
Well, the new ghc probably broke xmonad. We'll have to wait and see if anyone else has this problem.
Ido.
Offline
Solved:
Remove the ghc package:
pacman -R --recursive --nosave ghc
Remove xmonad:
pacman -R --recursive --nosave xmonad
Install the downgraded ghc package:
pacman -U ghc-6.8.1-1-i686.pkg.tar.gz
Install xmoand:
pacman -S xmonad
I really don't know if the new ghc package is the problem, but I decided to downgrade it anyway.
I would like to thank everyone for all the help, Ido.
Offline
I really don't know if the new ghc package is the problem, but I decided to downgrade it anyway.
The new GHC package caused this problem indeed, because everything has to be recompiled.
GHC 6.8.2 is checking for StackSet.hi in /usr/lib/ghc-6.8.2/site-local/xmonad-0.5/XMonad/StackSet.hi, but there's nothing there, since the file is at /usr/lib/ghc-6.8.1/site-local/xmonad-0.5/XMonad/StackSet.hi. Just recompile xmonad and related packages, that'll put everything in the right places
Last edited by meqif (2008-01-19 22:32:38)
Ricardo Martins ><>< ricardomartins.cc ><>< GPG key: 0x1308F1B4
Offline
What do you mean when you say "recompile" ?
Because when I reinstall i get this
pacman -S xmonad xmonad-contrib
warning: xmonad-0.5-6 is up to date -- reinstalling
warning: xmonad-contrib-0.5-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...
Targets: xmonad-0.5-6 xmonad-contrib-0.5-1
Total Download Size: 0.00 MB
Total Installed Size: 8.91 MB
Proceed with installation? [Y/n]
checking package integrity...
(2/2) checking for file conflicts [#########################################################################] 100%
ghc-pkg: cannot find package xmonad-0.5
(1/2) upgrading xmonad [#########################################################################] 100%
ghc-pkg: dependency base-3.0.0.0 doesn't exist (use --force to override)
Reading package info from stdin ... done.
ghc-pkg: cannot find package xmonad-contrib-0.5
(2/2) upgrading xmonad-contrib [#########################################################################] 100%
Reading package info from stdin ... done.
ghc-pkg: dependency base-3.0.0.0 doesn't exist (use --force to override)
And I don't know enough of ghc to know what it means...
I've noticed that the versions seems to be a bit melted :
ghc -v
Glasgow Haskell Compiler, Version 6.8.2, for Haskell 98, stage 2 booted by GHC version 6.8.1
Using package config file: /usr/lib/ghc-6.8.2/package.conf
wired-in package base mapped to base-3.0.1.0
wired-in package rts mapped to rts-1.0
wired-in package haskell98 mapped to haskell98-1.0.1.0
wired-in package template-haskell mapped to template-haskell-2.2.0.0
wired-in package ndp not found.
Hsc static flags: -static
*** Deleting temp files:
Deleting:
*** Deleting temp dirs:
Deleting:
ghc-6.8.2: no input files
Usage: For basic information, try the `--help' option.
And a last question :
Can I safely remove the /usr/lib/ghc-6.8.1/ directory ?
Thanks
Offline
The 'xmonad', 'xmonad-contrib' and 'haskell-x11' packages in the extra repository requires ghc 6.8.1, but the 'ghc' package in the repository is upgraded to 6.8.2. That is why you got errors while you install xmonad-contrib.
To resolve this issue, you can either downgrade your ghc to 6.8.1, or recompile xmonad, xmonad-contrib and haskell-x11 by yourself. I.E. install them from AUR.
Offline
And can I wait for an update of the xmonad (and co) package ?
Do you think it will take long ?
Offline
If you do not want to downgrade or recompile, I think you could wait until the xmonad packages are updated. According to my own experience, xmonad works with the default settings in such a circumstance but you cannot customize the settings.
I guess the xmonad package may be updated soon, as this problem is discussed several times in the forum, but it all depends on the package maintainer of course.
Offline
I've recompiled xmonad-darcs and installed it to work with ghc 6.8.2, but when I try to recompile xmonad-contrib-darcs, I get the following error:
makepkg
==> Determining latest darcs revision...
-> Version found: 20080121
==> Making package: xmonad-contrib-darcs 20080121-1 (Mon Jan 21 18:54:21 CET 2008)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Validating source files with md5sums...
==> Extracting Sources...
==> Entering fakeroot environment...
==> Starting build()...
==> Retrieving complete sources
Copying patch 85 of 85... done.
Applying patch 84 of 84... done.
Finished getting.
Configuring xmonad-contrib-0.5...
Setup.lhs: At least the following dependencies are missing:
xmonad ==0.5
==> ERROR: Build Failed.
Aborting...
Last edited by Don-DiZzLe (2008-01-21 18:01:21)
Offline