Loading...

lfs-support@linuxfromscratch.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: [lfs-support] Can't install glib Andrew Benton Wed Apr 04 06:09:42 2012

On Wed, 04 Apr 2012 13:11:15 +0100
gmspro <[EMAIL PROTECTED]> 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
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page