I know theis thread is old but looking at your log made me realize the PERMISSION DENIED error. I ran the install commands as root and everything worked as a charm!

sudo make
sudo make check ...