Building libreoffice viewer for android


I want to build LibreOffice viewer for android and after I resolve any error about dependency and etc, I faced to an error called

checking for library containing com_err... no                                                               configure: error: could not find function 'com_err' required for Kerberos 5

Can anyone help me to solve this problem?

Thanks in advanced

I find a solution. The error is about missing package “lcom_err”.

any way just install it.