Hey Guys n Gals,
I have been trying to compile GLIB for some time now and cant seem to get it to work I have ran ./configure and it passed ok its when I run make and I get these errors
Code:
make all-recursive
make[1]: Entering directory `/home/joe/Downloads/glib-2.31.8'
Making all in .
make[2]: Entering directory `/home/joe/Downloads/glib-2.31.8'
make[2]: Leaving directory `/home/joe/Downloads/glib-2.31.8'
Making all in m4macros
make[2]: Entering directory `/home/joe/Downloads/glib-2.31.8/m4macros'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/joe/Downloads/glib-2.31.8/m4macros'
Making all in glib
make[2]: Entering directory `/home/joe/Downloads/glib-2.31.8/glib'
make all-recursive
make[3]: Entering directory `/home/joe/Downloads/glib-2.31.8/glib'
Making all in libcharset
make[4]: Entering directory `/home/joe/Downloads/glib-2.31.8/glib/libcharset'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/joe/Downloads/glib-2.31.8/glib/libcharset'
Making all in pcre
make[4]: Entering directory `/home/joe/Downloads/glib-2.31.8/glib/pcre'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/joe/Downloads/glib-2.31.8/glib/pcre'
Making all in update-pcre
make[4]: Entering directory `/home/joe/Downloads/glib-2.31.8/glib/update-pcre'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/joe/Downloads/glib-2.31.8/glib/update-pcre'
Making all in .
make[4]: Entering directory `/home/joe/Downloads/glib-2.31.8/glib'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/joe/Downloads/glib-2.31.8/glib'
Making all in tests
make[4]: Entering directory `/home/joe/Downloads/glib-2.31.8/glib/tests'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/joe/Downloads/glib-2.31.8/glib/tests'
make[3]: Leaving directory `/home/joe/Downloads/glib-2.31.8/glib'
make[2]: Leaving directory `/home/joe/Downloads/glib-2.31.8/glib'
Making all in gmodule
make[2]: Entering directory `/home/joe/Downloads/glib-2.31.8/gmodule'
make all-am
make[3]: Entering directory `/home/joe/Downloads/glib-2.31.8/gmodule'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/joe/Downloads/glib-2.31.8/gmodule'
make[2]: Leaving directory `/home/joe/Downloads/glib-2.31.8/gmodule'
Making all in gthread
make[2]: Entering directory `/home/joe/Downloads/glib-2.31.8/gthread'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/joe/Downloads/glib-2.31.8/gthread'
Making all in gobject
make[2]: Entering directory `/home/joe/Downloads/glib-2.31.8/gobject'
make all-recursive
make[3]: Entering directory `/home/joe/Downloads/glib-2.31.8/gobject'
Making all in .
make[4]: Entering directory `/home/joe/Downloads/glib-2.31.8/gobject'
CC libgobject_2_0_la-gclosure.lo
gclosure.c:29:17: error: ffi.h: No such file or directory
gclosure.c:946: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
gclosure.c: In function 'value_from_ffi_type':
gclosure.c:1035: error: 'ffi_arg' undeclared (first use in this function)
gclosure.c:1035: error: (Each undeclared identifier is reported only once
gclosure.c:1035: error: for each function it appears in.)
gclosure.c:1035: error: 'int_val' undeclared (first use in this function)
gclosure.c:1035: error: expected expression before ')' token
gclosure.c: In function 'g_cclosure_marshal_generic':
gclosure.c:1126: error: 'ffi_type' undeclared (first use in this function)
gclosure.c:1126: error: 'rtype' undeclared (first use in this function)
gclosure.c:1129: error: 'atypes' undeclared (first use in this function)
gclosure.c:1132: error: 'ffi_cif' undeclared (first use in this function)
gclosure.c:1132: error: expected ';' before 'cif'
gclosure.c:1140: warning: implicit declaration of function 'value_to_ffi_type'
gclosure.c:1144: error: 'ffi_type_void' undeclared (first use in this function)
gclosure.c:1147: error: 'ffi_arg' undeclared (first use in this function)
gclosure.c:1150: error: expected expression before ')' token
gclosure.c:1162: error: 'ffi_type_pointer' undeclared (first use in this function)
gclosure.c:1186: warning: implicit declaration of function 'ffi_prep_cif'
gclosure.c:1186: error: 'cif' undeclared (first use in this function)
gclosure.c:1186: error: 'FFI_DEFAULT_ABI' undeclared (first use in this function)
gclosure.c:1186: error: 'FFI_OK' undeclared (first use in this function)
gclosure.c:1189: warning: implicit declaration of function 'ffi_call'
make[4]: *** [libgobject_2_0_la-gclosure.lo] Error 1
make[4]: Leaving directory `/home/joe/Downloads/glib-2.31.8/gobject'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/joe/Downloads/glib-2.31.8/gobject'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/joe/Downloads/glib-2.31.8/gobject'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/joe/Downloads/glib-2.31.8'
make: *** [all] Error 2
[joe@localhost glib-2.31.8]$
that is my output of running make as you can see it fails and I am not sure why?
p.s.
this is my LIBFFI_CFLAGS=/usr/local/lib/libffi-3.0.11/include/ variable setting
I would be very grateful for your all help
Joe