libffi

Requests go here. If you fill a request, give it a new thread in the appropriate category and then link to it in the request thread.
Post Reply
Message
Author
User avatar
Evil20071
Posts: 489
Joined: Sat 07 Jun 2008, 19:50
Location: Piedmont, SC,.United States
Contact:

libffi

#1 Post by Evil20071 »

Well... I'm working on building GNOME 3, but I'm trying to get libffi to work first... I think I'm missing something, since it's been about 4 years since I last used GCC and built something... I've successfully completed the "configure" part of getting the build done. I've done make ./Makefile and make install ./Makefile and they both complete with no errors, but when I go to make the GTK, it says it's not been done. What am I missing?
[url=http://totalelectronics.us]TotalElectronics.us[/url]

User avatar
Evil20071
Posts: 489
Joined: Sat 07 Jun 2008, 19:50
Location: Piedmont, SC,.United States
Contact:

#2 Post by Evil20071 »

Just realized, I have the libffi.so files in /usr/local/lib but it's not reading them in GCC when it goes to do the configure command?

Code: Select all

checking for LIBFFI... no
configure: error: Package requirements (libffi >= 3.0.0) were not met:

No package 'libffi' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

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.
[url=http://totalelectronics.us]TotalElectronics.us[/url]

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#3 Post by Karl Godt »

Code: Select all

cat /usr/lib/pkgconfig/libffi.pc
should show something like this :

Code: Select all

prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${libdir}/libffi-3.0.9/include

Name: libffi
Description: Library supporting Foreign Function Interfaces
Version: 3.0.9
Libs: -L${libdir} -lffi
Cflags: -I${includedir}

Post Reply