memory issues with cabal
duncan.coutts at worc.ox.ac.uk
Wed Mar 4 07:33:09 EST 2009
On Tue, 2009-03-03 at 15:53 -0800, Paul Brown wrote:
> Hi, All --
> I'm having some issues getting cabal-install to upgrade itself to the
> current version (Cabal 22.214.171.124, cabal-install 0.6.2):
> > $ cabal install Cabal cabal-install
> > Resolving dependencies...
> > cabal: memory allocation failed (requested 2097152 bytes)
Are you by any chance using cabal-install version 0.5.x with ghc-6.10?
That version of cabal-install goes into an infinite loop when resolving
dependencies because it cannot cope with the fact that base 3 depends on
If you've still got ghc-6.8 installed then you could:
$ cabal install Cabal cabal-install -w ghc-6.8.3
otherwise you'll need to bootstrap cabal-install freshly with ghc-6.10.
More information about the Libraries