[lfs-support] Can't install glib

Andrew Benton andy at benton.eu.com
Wed Apr 4 06:05:13 PDT 2012

On Wed, 04 Apr 2012 13:11:15 +0100
gmspro <gmspro at yahoo.com> wrote:

> 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?

Have you tried Beyond Linux From Scratch?


More information about the lfs-support mailing list