Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
checking pkg-config is at least version 0.9.0... yes
checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.13.5 atk >= 1.9.0 pango >= 1.17.3 cairo >= 1.2.0) were not met:
No package 'glib-2.0' found
No package 'atk' found
No package 'pango' found
No package 'cairo' 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 BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
[root@vm-fedora-8 gtk+-2.12.6]#
I have build and installed ‘glib-2.16.0’ and ‘glib-2.0.pc’ can be found in ‘usr/local/lib/pkgconfig/’.
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
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.