rPi: install dependency error [recompiling poco]

Trying to set up oF on a new rPi, when running install_dependencies I got a message that I have gcc 5 or later and Poco needs to be recompiled. That step never finishes and ends with

ranlib /home/pi/Development/openFrameworks/scripts/apothecary/build/poco/lib/Linux/armv7l/libPocoData.a
make[1]: Leaving directory '/home/pi/Development/openFrameworks/scripts/apothecary/build/poco/Data'

 ^ Received error ^

Help?

update: realised 0.9.8 doesn’t work with the pi anymore, trying the nightly build now.

Nightly build seems to have installed dependencies and compiled. I say seems to because I’m doing everything headless over ssh and obviously can’t run the examples.

(ofAppNoWindow ran without issues though!)

Graphics examples weren’t compiling on Stretch, installed Jessie and everything seems to work fine now.

same errors here. Unable to run the exxamples I’ve tried to.
The raspian images can be found at
http://downloads.raspberrypi.org/raspbian/images/
and the last Jessie is
http://downloads.raspberrypi.org/raspbian/images/raspbian-2017-07-05/