Error line 258

While trying to build libre office after downloading the source from git, when i run the command “./autogen.sh”
I get the error “Error running configure at ./autogen.sh line 258”. I’m running ubuntu 12.10 32 bit version.