I am trying to install opencv-3.1.0 on Ubuntu 16.04. However I face errors when trying to install from `opencv.sh` and `cmake`. 

[![<code>./opencv.sh</code> error](https://i.stack.imgur.com/Vtsai.jpg)](https://i.stack.imgur.com/Vtsai.jpg) 

[![<code>cmake ..</code> output](https://i.stack.imgur.com/JTF79.jpg)](https://i.stack.imgur.com/JTF79.jpg)

Please advise.