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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.
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.
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,
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.
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.