Problems Installing gtk+-2.12.6 (glib-2.16.0)
Hello all, I hope that I have posted this question in the correct forum!
I am new to Linux and I am having problems building the ‘gtk+-2.12.6’ package. Code:
checking for pkg-config... /usr/bin/pkg-config I have also added the above location to my $PATH, $PKG_CONFIG_LIBDIR, $PKG_CONFIG and $PKG_CONFIG_PATH. I think that I may not have set them correctly (PKG_CONFIG_PATH=$ PKG_CONFIG_PATH:/usr/local/lib/pkconfig), any advice will be gratefully received Do I need to set my path in ‘pkg-config’? If so, how? Obviously the ‘gtk+-2.12.6’ package is not seeing ‘glib-2.16.0’. However, I am new to Linux and I do not know what else to try. Any help will be gratefully received, Harold Clements |
Hi there!
Note that GLIB and GLIB2 are two different (though similar) packages. Your configure error indicates that you do not have a sufficiently recent GLIB2 package. "glib-2.16.0" refers to GLIB, not GLIB2. Many people, myself included, have been temporarily stumped by this naming similarity. Now, you haven't told us what Linux you are running (adding it to your profile would be good) but you can likely use your package manager to look at what versions of which package you have installed, and upgrade/install the missing packages as necessary. Be mindful that when installing or upgrading such things as GLIB, GLIB2, GLIBC, other things may break, or weird things may happen (particularly with GLIB and GLIBC for sure). Anyhow, if your package manager tells you that you do indeed have the required versions of these things installed already, then you will have to revisit the $PATHS you are specifying for the GTK build. FWIW, I installed/upgraded the dependencies on my Slackware 11.0 machine so I could install GTK+ a while back, and ran into no issues. Good luck! Sasha |
Hello Sasha, thank you very much for your email
It seems that I had to export my $PKG_CONFIG_PATH. Code:
Harold Clements |
Interesting!
Happy to have tried to help, and hopefully the remainder of the build will go well for you. I can imagine that some things are slightly non-standard (paths etc.), as you are using VMware, let alone using FC8 ;), neither of which I have tried, but am hesitant none the less. Best of success -- Cheers :) Sasha |
All times are GMT -5. The time now is 02:56 PM. |