memory issues with cabal

Hi, All -- I'm having some issues getting cabal-install to upgrade itself to the current version (Cabal 1.6.0.2, cabal-install 0.6.2):
$ cabal install Cabal cabal-install Resolving dependencies... cabal: memory allocation failed (requested 2097152 bytes)
I've tried various combinations of ghc options and RTS options passed in without success. The machine has plenty of horsepower for the task (8 cores, 20GB of RAM; Mac OS X 10.5.6, ghc 6.10.0) if I could convince cabal to use it... Any magic flags or tricks for this one? Thanks in advance. Paul Brown prb@mult.ifario.us http://mult.ifario.us http://www.linkedin.com/in/paulrbrown

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 1.6.0.2, 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 base 4. 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. Duncan

On Mar 4, 2009, at 4:33 AM, Duncan Coutts wrote:
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.
That was it! Works like a charm now, Duncan. Cheers. Paul Brown prb@mult.ifario.us http://mult.ifario.us http://www.linkedin.com/in/paulrbrown
participants (2)
-
Duncan Coutts
-
Paul Brown