[Haskell-cafe] GHC 7, Platform 2011.2 vs OS X 10.5, Ubuntu 11.04
brandon_m_moore at yahoo.com
Mon May 23 14:46:00 CEST 2011
> From: Jacek Generowicz <jacek.generowicz at cern.ch>
> Sent: Monday, May 23, 2011 4:17 AM
> [TL;DR: there's a concrete question at the bottom.]
> Once again I find myself in the pleasant situation where the slings and arrows
> of life in general are slightly less intense, and I manage to find a few spare
> minutes and some free brain cycles to dedicate to Haskell.
> Why not try GHC 7.0.3? (after all, GHC 7 has been out for a good few months, so
> the teething troubles should have passed by now), and there's a lovely new
> Haskell Platform 2011.2.0.1 to go with it, so, maybe this time, I'll
> actually be able to use some of the libraries that I tried and failed to install
> during my last period of Haskell study.
> The two computers I have available for playing with Haskell run OS X Leopard
> (10.5), and Ubuntu Natty (11.04).
I can't say anything about OS X, but I've been using ghc 7.0.3 under Ubuntu.
I just cabal-install what I want - and use apt-get for any required C libraries.
To set up cabal-install, the bootstrap.sh script which should come in
the package is helpful - it automatically downloads the required dependencies.
> Next up: Ubuntu. There's a Linux Link on the Haskell Platform Page. Ooooh,
> there's an Ubuntu link. Ooooh! there's even a package for Natty, great!
> Version 2010.1.0.0.1 WTF? Where's the 2011.2 package? There isn't one.
I see there is a 2011.2 package for the next version, but it's probably too much
trouble to fix up the other dependencies.
> b) On Ubuntu Natty I installed the generic linux GHC 7.0.3 binary. Downloaded
> Haskell Platform 2011.2.0.1 source distribution. ./configure worked happily.
> make fails as follows.
> Building transformers-0.2.2.0
> "/usr/local/haskell-platform-2011.2.0.1/bin/ghc" "--make"
> "Setup" "-o" "Setup" "-package"
> <command line>: cannot satisfy -package Cabal-188.8.131.52:
> Cabal-184.108.40.206-1fb2094e19492373b1a39284193e7984 is unusable due to missing
> or recursive dependencies:
That's odd. I think 7.0.3 comes with Cabal-220.127.116.11.
Here's my global package database:
More information about the Haskell-Cafe