Error generating while building local system

While building local system for libreoffice, I’m getting this error even after following all the steps mentioned in :
Error running configure at ./ line 322

On this Ask site users help users with using LibreOffice. For build problems please join the IRC channel or write to the mailing list. See If you need help getting started on the Development wiki page.