codehenry / xmonad

Automatically exported from code.google.com/p/xmonad
0 stars 0 forks source link

Cannot compile even with default conf file #540

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. fresh install xmonad
2. copy default conf from /usr/share/xmonad/ghc/man/xmonad.hs to 
~/.xmonad/xmonad.hs
3. run `xmonad --recompile`

What is the expected output? What do you see instead?
I expected the conf compiled without error.
I saw compilation error saying:

xmonad.hs:132:64: Not in scope: `help' 

What version of the product are you using? On what operating system?

xmonad 0.11-r1
ghc 7.6.2 with gentoo-haskell overlay.

OS: gentoo

Are you using an xmonad.hs?  Please attach it and the output of "xmonad
--recompile".

xmonad.hs == default conf under "man" directory

Please provide any additional information below.

Original issue reported on code.google.com by Javra...@gmail.com on 6 Apr 2013 at 7:40

GoogleCodeExporter commented 8 years ago
This has been fixed in darcs since the patch named "Copy help binding from 
XMonad.Config to man/xmonad.hs", but thanks for the report!

Original comment by daniel.w...@gmail.com on 6 Apr 2013 at 1:58

GoogleCodeExporter commented 8 years ago
I've checked out code in darcs and found "Copy help binding ..." you mentioned.

But I'm still sufferring from this problem even after updating to xmonad-9999 
(haskell overlay)

`diff /usr/share/xmonad-9999/ghc-7.6.2/man/xmonad.hs ~/.xmonad/xmonad.hs` 
showed no difference.

I've uploaded my conf & error report in case there're helpful for you.

Original comment by Javra...@gmail.com on 10 Apr 2013 at 5:14

Attachments:

GoogleCodeExporter commented 8 years ago
Hm, you're right. I have these patches lying around from some time ago, but it 
seems they haven't been applied in the main repository. I'm not sure whether 
that's because I just forgot to send them or what, but here they are. I 
remembered seeing this fixed and just grepped the darcs log (on a different 
machine) without checking that the patch I referred to was really the fix. 
Thanks for your persistence.

Original comment by daniel.w...@gmail.com on 10 Apr 2013 at 5:28

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for your quick reply, I've applied the patch, and now it can be compiled 
without error :)

Original comment by Javra...@gmail.com on 11 Apr 2013 at 2:43

GoogleCodeExporter commented 8 years ago
Applied, thanks.

Original comment by vogt.a...@gmail.com on 18 Apr 2013 at 3:55