[Haskell-beginners] haskell install on low memory server?
Felipe Almeida Lessa
felipe.lessa at gmail.com
Sat Mar 19 16:02:15 CET 2011
On Sat, Mar 19, 2011 at 2:41 PM, Rob Nikander <rob.nikander at gmail.com> wrote:
> But I'm not compiling GHC, am I? I downloaded the binary, and it
> works. I thought I was trying to install cabal, because I don't see
> it included in the GHC binaries.
I think I have misunderstood your snippet. =)
> From the error message in my previous email, it looks like it dies
> trying to compile "transformers".
Yes, that seems so.
> I also have a Micro EC2 instance. If there was a 'yum' haskell
> package for this "Amazon Linux" I'd use that, but I don't see one.
I have installed Ubuntu on my micro instance and downloaded GHC from
there. However I've installed many other packages through cabal.
Perhaps the difference is the swap file?
You may try
# dd if=/dev/zero of=/tmp/swap bs=1M count=1024
# mkswap /tmp/swap
# swapon /tmp/swap
More information about the Beginners