Banana Pi BPI-M1 interface with Mesh Module

Well I was trying to interface Mesh module with Banana Pi BPI-M1 board but there was an OS failure while using RASPBIAN. So I am trying to use SSH communication with my laptop to interface with mesh module but not able to install library properly, I have already update the Zigbee configuration as router(used in mesh module).

Any lead on the cause will be appreciated