[lfs-support] Can't install glib

gmspro gmspro at yahoo.com
Wed Apr 4 07:52:32 PDT 2012


Done, Thanks.



________________________________
 From: Andrew Benton <andy at benton.eu.com>
To: lfs-support at linuxfromscratch.org 
Cc: gmspro <gmspro at yahoo.com>; LFS Support List <lfs-support at linuxfromscratch.org> 
Sent: Wednesday, April 4, 2012 4:05 AM
Subject: Re: [lfs-support] Can't install glib
 
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?
http://www.linuxfromscratch.org/blfs/view/svn/general/glib2.html

Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20120404/d0856a07/attachment.html>


More information about the lfs-support mailing list