[erlang-questions] Problems Compiling Erlang R12B-5

David N Murray <>
Sun Apr 25 15:22:50 CEST 2010


On Apr 24, Karthik Kailash scribed:

> Hi Roger,
>
> Here is the configure output:  http://kpaste.net/4649c0b
>
> <http://kpaste.net/4649c0b>Thanks,
> Karthik

I recall running into something similar, but it wasn't while building
erlang.  It was gcc running out of memory and it manifested itself the
same way (i.e. "killed").  IIRC, I may have fixed it by changing one of
these (which all look fine, now):

$ ulimit -a # bash internal command
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
file size               (blocks, -f) unlimited
pending signals                 (-i) 7679
max locked memory       (kbytes, -l) 32
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 7679
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

proabably either -d, -m, or -v.  If you're running out of swap space, you
can add more swap (check mkswap and swapon).  You can monitor both memory
and swap usage with 'top' while it's building and see if that's your
problem.

hth,
Dave


More information about the erlang-questions mailing list