what RPI are you using? compiling on my tinker board went pretty straight, but it has 2GB RAM
you might be running into same issue as that guy
https://bitcointalk.org/index.php?topic=304389.0try monitoring your ram while compiling on a second ssh session
Yeah I'll try that. I ran into another error with producing the daemon after I fixed the first error

(I'll post the log tomorrow).
I'm not sure what Pi I'm running it from, I have a Pi 2 and a B+ I assume the second (latter) was the 2 that I used which got further along the installation.
I found an OS that comes preinstalled with bitcoin core for a raspberry pi so I'm going to try that.