[Haskell-cafe] GHC 7, Platform 2011.2 vs OS X 10.5, Ubuntu 11.04
jacek.generowicz at cern.ch
Mon May 23 17:10:02 CEST 2011
Summarizing, by answering my own question on the basis of the help I
have received elsewhere in the thread.
On 2011 May 23, at 11:17, Jacek Generowicz wrote:
> a) Am I right in concluding that GHC 7.0.3 will not run on OS X 10.5
> (without unreasonable effort)?
It takes little effort on the part of the human, though the CPU will
have to work hard.
- Make sure you have XCode 3.1 (or better, I guess)
- Download and install GHC-7.0.1
- Use the above to compile GHC-7.0.3 from source.
> 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" "Cabal-18.104.22.168"
> <command line>: cannot satisfy -package Cabal-22.214.171.124:
> Cabal-126.96.36.199-1fb2094e19492373b1a39284193e7984 is unusable due
> to missing or recursive dependencies:
> Could anybody help me get past this problem?
This problem was probably caused by having an old ~/.ghc lying around.
On a *clean* Natty system, this procedure works like a charm, though
you may have to apt-get install some required C libraries.
If you then proceed to install cabal-install, make sure *not* to use
the version which is available for download (today) on the cabal-
install page: for GHC 7 you need to use cabal-install version 0.10.*,
which you can get from
Use the booststrap.sh script which comes in the bundle (chmod u+x
Thanks to all those who helped. Hopefully this summary will be of some
use to someone in the future.
More information about the Haskell-Cafe