[Haskell-cafe] GHC 7, Platform 2011.2 vs OS X 10.5, Ubuntu 11.04
daniel.is.fischer at googlemail.com
Mon May 23 15:22:28 CEST 2011
On Monday 23 May 2011 15:08:41, Jacek Generowicz wrote:
> On 2011 May 23, at 14:42, Daniel Fischer wrote:
> > On Monday 23 May 2011 14:16:43, Jacek Generowicz wrote:
> >> If by "cabal install" you mean use the command "cabal" ... yeah, that
> >> would be great, if only I could install cabal-install, which fails.
> > With what error?
> > Downloading and unpacking the .tar.gz bundle and then running
> > $ ./bootstrap.sh
> > in that directory should work.
> Below is what I get *now* having just successfully installed a fresh
> GHC 7.0.3 and HP 2011.2.0.1. By "successfully installed" I mean that
> configure, make and make install didn't throw up any errors. I haven't
> tested that anything works yet.
> $ ./bootstrap.sh
> Checking installed packages for ghc-7.0.3...
> parsec-18.104.22.168 will be downloaded and installed.
> network is already installed and the version is ok.
> Cabal-22.214.171.124 will be downloaded and installed.
That's a bad sign.
Have you downoaded the bundle from the cabal-install page?
That's not the right thing to do (yeah, somebody should tell unsuspecting
With ghc-7, you should use cabal-install-0.10.*, download cabal-
install-0.10.2 from hackage
> mtl-126.96.36.199 will be downloaded and installed.
> HTTP-4000.0.8 will be downloaded and installed.
> zlib is already installed and the version is ok.
> Downloading parsec-188.8.131.52...
> Downloading Cabal-184.108.40.206...
> [56 of 58] Compiling Distribution.Simple.UserHooks ( Distribution/
> Simple/UserHooks.hs, Distribution/Simple/UserHooks.o )
> [57 of 58] Compiling Distribution.Simple ( Distribution/Simple.hs,
> Distribution/Simple.o )
> [58 of 58] Compiling Main ( Setup.hs, Setup.o )
> Linking Setup ...
> Configuring Cabal-220.127.116.11...
> Setup: At least the following dependencies are missing:
> base >=4 && <3 && >=1 && <5, filepath >=1 && <1.2
You see that that constraint is impossible, don't you?
> Error during cabal-install bootstrap:
> Configuring the Cabal package failed
$ghc-pkg unregister parsec-18.104.22.168 (unless you want to keep it)
Try it with cabal-install-0.10.2, sorry for the inconvenience.
More information about the Haskell-Cafe