a.shortbrain

Open-source, Unix and python related ressources
home » tags » ghc

Haskell installation under gentoo

I wanted to test xmonad, mostly because it's compatible with gnome (the panel, session, etc..). xmonad is written in haskell, so a/the haskell compiler is needed, and probably a recent version is better. The haskell overlay does not really work well.

Anyway, in order to compile the haskell compiler, we need the haskell compiler (inifinite loop here). It should be done by the ebuild (portage stuff) of ghc but.. it failed.. the only way I have found is to install a old version with binary and next update from this one (now we have a ghc binary).

$ USE="binary" emerge -D =dev-lang/ghc-6.6.1
$ emerge -D ghc

And, it should be OK. I'm following this guide, almost.

PS : xmonad is like dwm and wmii, but, better and extensible... Yes, I'm a geek..

edit : I was wrong, the binary is not available for the last last version (an unstable one). It's so simple, just install the ghc-6.6.1 version with the flag binary, and that's all folk.. xmonap is really the best window manager ever.

$ USE="binary" emerge -D ghc

¶ Last update : November 2nd, 2007 at 3:23PM

¶ October 31st, 2007 at 7:38PM, in haskell, gentoo, linux and ghc.