You are not logged in.

#1 2017-07-07 13:48:37

cemsbr
Member
From: Brazil
Registered: 2008-05-03
Posts: 111
Website

[SOLVED] xmonad is broken

I can't reload xmonad and I haven't changed my config:

$ xmonad --recompile
Error detected while loading xmonad configuration file: /home/cemsbr/.xmonad/xmonad.hs

xmonad.hs:1:1: error:
    Failed to load interface for ‘XMonad’
    Perhaps you meant DsMonad (needs flag -package-key ghc-8.0.2)
    Use -v to see a list of the files searched for.

xmonad.hs:2:1: error:
    Failed to load interface for ‘XMonad.Hooks.ManageDocks’
    Use -v to see a list of the files searched for.

xmonad.hs:3:1: error:
    Failed to load interface for ‘XMonad.Hooks.DynamicLog’
    Use -v to see a list of the files searched for.

xmonad.hs:4:1: error:
    Failed to load interface for ‘XMonad.Util.EZConfig’
    Use -v to see a list of the files searched for.

xmonad.hs:5:1: error:
    Failed to load interface for ‘XMonad.Layout.NoBorders’
    Use -v to see a list of the files searched for.

xmonad.hs:6:1: error:
    Failed to load interface for ‘XMonad.Hooks.ManageHelpers’
    Use -v to see a list of the files searched for.

xmonad.hs:7:1: error:
    Failed to load interface for ‘XMonad.Hooks.SetWMName’
    Use -v to see a list of the files searched for.

Please check the file for errors.

Last edited by cemsbr (2017-07-07 15:28:20)

Offline

#2 2017-07-07 13:57:01

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,526
Website

Re: [SOLVED] xmonad is broken

Search before posting:

https://bbs.archlinux.org/viewtopic.php?id=227580

Closed & Binned.

EDIT: reopen upon appeal ... for now.

Cemsbr, if you really had seen that other thread already, you should have linked to it in your description:

code of conuct / how to post wrote:

When asking questions, provide as much information as possible, including error messages, terminal output, logs, what you have previously tried, what documentation and searches you have attempted, and related configuration files.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2017-07-07 15:28:05

cemsbr
Member
From: Brazil
Registered: 2008-05-03
Posts: 111
Website

Re: [SOLVED] xmonad is broken

The command of https://bbs.archlinux.org/viewtopic.php?id=227580

cd ~/.xmonad
ghc --make xmonad.hs -i -ilib -dynamic -fforce-recomp -main-is main -v0 -o xmonad-x86_64-linux

gives me the same error. I tried to reinstall the package

pacman -S xmonad

and it worked. If this happens to many people, maybe there should be a new release (0.13-5) for the xmonad package.

Offline

Board footer

Powered by FluxBB