If you encounter any errors, you can do the following to view error messages:
tail /var/log/messages
tail /var/adm/imapd.log
killall sendmail && sendmail -bd -X
/root/error.log (then read /root/error.log)
If you are having "virtual memory exhausted errors" when compiling, running
ulimit -d unlimited
as root has been reported to work.