[lfs-support] Can't install glib

gmspro gmspro at yahoo.com
Wed Apr 4 05:06:15 PDT 2012

cd glib-2.32.0

./configure --prefix=/usr --sysconfdir=/etc

checking for zlib.h... yes
checking for LIBFFI... no
configure: error: in `/sources/glib-2.32.0':
configure: error: The pkg-config script could not be found or is too old.  Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

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

To get pkg-config, see <http://pkg-config.freedesktop.org/>.
See `config.log' for more details

What should i do? How can i install glib and pkg-config successfully?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20120404/1a807fe8/attachment.html>

More information about the lfs-support mailing list