[Libreoffice] autogen.sh fails to build Libre Office

Ibrahim Beicker ibrabeicker at gmail.com
Sun Jun 19 05:04:34 PDT 2011

This is a very noobish ask for help but when I tried to build
LibreOffice, the script autogen fails to detect 'fontconfig'

here's the output

checking for FONTCONFIG... no
configure: error: Package requirements (fontconfig >= 2.2.0) were not met:

No package 'fontconfig' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables FONTCONFIG_CFLAGS
and FONTCONFIG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

I have the fontconfig 2.8.0, on Ubuntu 11.04 32 bits, I've followed
the steps on http://www.documentfoundation.org/develop/ and I searched
google but all I could find was bug reports having the same problem
but with other builds.

Is there any workaround for this?

More information about the LibreOffice mailing list