No package 'libffi' found
I try to install glib-2.30.2 from http://ftp.gnome.org/pub/GNOME/sources/glib/2.30/ ang get the following error:
rpm -q libffi-devel -> libffi-devel-3.0.5-3.2.
I have installed and configured pkg-confign
I also find the followin errors on when trying to install gtk+-3.2.3 from http://developer.gnome.org/gtk3/stab...-building.html
rpm -q atk -> atk-1.28.0-2
rpm -q pango -> pango-1.28.1-3
rpm -q cairo -> cairo-1.8.8-3.1
rpm -q cairo-gobject -> (nothing)
rpm -q gdk-pixbuf-2.0 -> gdk-pixbuf-0.22.0-38
can anyone who has experienced the same problem help me?
Haven't experienced the problem, as all of the packages you're trying to install are available in my distro's (Fedora) repositories, so a simple yum install <requestedpackage> will install the requested package and any dependencies. You're clearly using an rpm-based distro. Why not use your your distro's package manager?
Well, I have all the required libraries installed from my destro rpm repositories. The problem comes when gtk+3.2.3 is NOT available to any of those. My target is to install gtk+3.2.3.
rpm -qi gtk+
yum info gtk+ > (same output as rpm -i)
So I try to compile it myself, using the instruction from GTK+ web site. Starting from gtk+ which requests glib-2.0.0 or greater, there is also no available glib-2.*.* in any repo.
rpm -qi glib
rpm -qi libffi
and that's why guys in GTK+ website suggest to use pkg-config tool,
to instruct process and find those libraries before compiling.
I wrote this thread,if someone has any knowledge of how to use this pkg-config tool, cause I haven't use this tool before. Thank you for your answer.
I'd guess, that you are excluding /usr/lib/pkgconfig/ with this :
( from post #1 ) PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
May be this will work :
I tested that. Same results
also please note:
May be this : PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/***
isn't working at all.
I always use this command :
&& ./configure && make
The export command is temporary : Will reset to default,
when you exit the terminal.
May be uninstall the extra pkg-config in /usr/local/ .
man pages in linux are to instruct users how to use the packages, inside pkg-config I see this:
I followed your instructions with no luck. I'm burned!!
What's this libffi library anyway.. what a mess
____________ SOLVED ____________
OK I just sourced libffi and magically the libffi.pc file appeared on /usr/local/lib/pkgconfig folder
and also the glib-2.30.2 was installed correctly.
just take EXTRA care that you do not fubar the system with a second and different glib and gtk
if /usr/local is in the system path and gnome or the OS ( cent6) find the different packages .You will be in for some problems
in building the dev tree for gimp it is VERY easy to make a normal every day typo and royally mess up the system
|All times are GMT -5. The time now is 09:48 AM.|