Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to build ghc following the directions here: How to install Haskell Platform for Ubuntu 13.04?

I keep getting:

HC [stage 1] compiler/stage2/build/DynFlags.p_o Killed make[1]: ***
[compiler/stage2/build/DynFlags.p_o] Error 137 
make: *** [all] Error 2

I think I'm probably missing a dependency, but I have no idea which.

share|improve this question
    
While compiling you don't run out of memory? It seems make is being killed by something (OOM killer?) –  Salem Sep 30 '13 at 17:37
add comment

1 Answer

Yup Salem had it right. It was an OOM issue. I increased the servers RAM from 512MB to 1024MB, and the problem was solved. Thanks!

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.