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.
I'm having trouble installing glChess. I'm running RedHat 9, Gnome 2.2, and I've installed GTK+-2.2.1 and I want to install gtkglext. But everytime I try to install it, I get the following error:
checking for gtk+-2.0 >= 2.0.0 gdk-2.0 >= 2.0.0 pango >= 1.0.0 gmodule-2.0 >= 2.0.0 ... Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
configure: error: Library requirements (gtk+-2.0 >= 2.0.0 gdk-2.0 >= 2.0.0 pango >= 1.0.0 gmodule-2.0 >= 2.0.0 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
I've installed pkgconfig-0.14.0 with both "./configure" and "./configure --prefix=/usr/bin" and as you can see above, I still get the same error. Any suggestions? Do I need to set the PKG_CONFIG_PATH? Shouldn't GTK+-2.2.1 install in a dir that is already recognized? Thanks. --jeremy.
All I get from echo $PKG_CONFIG_PATH is a blank line:
That's it. And I have installed the gnome development libraries from the RPM packages that came with Redhat 9, so they should be the newest anyway. I'll try the export PKG_CONFIG_PATH, but I'm not sure that's going to work since (and I'm assuming here) I've installed gtkmm without problems (which required GTK+-2.0. Anyway, thanks for the help. Oh and another question, I heard somewhere that RH9 uses a modified version of Gnome, does anyone know what these modifications involved? Thanks.
Are you sure you have the gnome development libs? If so, you should have some files in /usr/lib/pkgconfig
RH9 do some custom artwork on both KDE and GNOME, and alter the default desktop layout of GNOME to be more like Windows/KDE (kde can't do the gnome default, not flexible enough, but RH want them both the same so gnome has to change).
When you do an install your distribution sets up PKG_CONFIG_PATH. I don't think that it is done by any of the development packages when they install. The last time I installed SuSE I did not install the Gnome development group of packages so SuSE did not set up PKG_CONFIG_PATH for me. Later when I installed the Gnome development packages by hand I had to set PKG_CONFIG_PATH by placing the following command in /etc/profile.local
Since your PKG_CONFIG_PATH is blank I think that you need to do something similar depending on where your distribution places global export commands.