Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
configure: error: Library requirements (glib-2.0 >= 2.1.4 atk >= 1.0.1 pango >= 1.0.1) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
[root@localhost gtk+-2.2.0]
Can anyone help me set the PKG_CONFIG_PATH env, im totally clueless. This is the error i get when trying to configure gtk.
Distribution: LFS 4.0, Windows XP, Ubuntu 10.01, Gentoo 2.6.32-r7, OpenSolaris
Posts: 100
Rep:
Have you verified that the required versions of the libraries are installed? I think the standard directory for this is /usr/local/lib/pkgconfig. Does it exists? What happens when you type "pkg-config --list-all".
Distribution: LFS 4.0, Windows XP, Ubuntu 10.01, Gentoo 2.6.32-r7, OpenSolaris
Posts: 100
Rep:
It looks like atk and pango aren't installed. Did you get them from www.gtk.org? By the way I'm assuming the directory you did the ls on was /usr/local/lib/pkgconfig, is that correct?
Ya that is correct, i even updated pkgconfig to 0.15 and it still doesnt work. Anymore ideas?.... And this is probably a stupid Q:, but how would i be able to figure out which versions of certain programs are installed into my computer?... For updated references im planning on having an added dir under usr/verref/*tar Is this a good idea?
Distribution: LFS 4.0, Windows XP, Ubuntu 10.01, Gentoo 2.6.32-r7, OpenSolaris
Posts: 100
Rep:
When you said "Ya that is correct." Were you answering both of my questions or just the question about the location of the pkgconfig directory? I still don't think atk and pango are installed. I believe there should be an atk.pc and a pango.pc file in the pkgconfig directory.
Most programs support a version option. For example pkg-config --version will give you the current version of that program.
I keep the the compressed tar files in a /downloads directory because it's quicker than downloading them again if I have to re-install something. The directory can get quite big after a while so every now and then I save them on a CDRW then delete them.
Ya, i come to find out pango/atk wasnt. I'm learning so much as i go along, but for some reason pango doesnt read pkgconfig. So i made a copy of pkgconfig into the DIR it looks for it. But instead it comes up to be the error, GLIB2.1.3 found needs glib 2.2+ blah blah blah. ill list the exact errors, and what i did to install glib later, right now im on XP hehe. COUNTERSTRIKE!!!!!!!
I have the same problem....I also dont have the pango and atk listed on the /usr/local/lib/pkgconfig directory, another problem is that for installing pango I neet fontconfig, and for this one, freetype is required.....its a mess!!!!!!!!
Is there any descriptive procedure about this? Can someone help?
Ok cantrooper, I saw in your other thread you've been to the gtk site. It's been a while since I installted it but I recall that it was a pain the but and I had to install a lot of other things to get it to work. I'm downloading the latest version now and will see if I run into problems building it. I quickly reviewed the instructions and it almost looks like the real installation starts halfway down in the "Building and Testing GTK+" section. that may be where you pick up the truetype stuff.
Thanks man, ill try to do the whole thing again and Ill let you know ifr it works....I am halfway i would say, glib and atk are installed already wo problems. Pango is the one that sucks because truetype is needed.
I would have thought that since I have RH9 everything should have been included. I am installing everything on the /usr/local/Glibblah blah for example, is this correct?, or should i do something on the /opt/gtk directory?
Anyway, thanks in advance mate, any help would be greatly appreciated....
Right now freetype seems to be the problem....I can ./configure it but wthe make and make install just throw a bunch of warnings and Install errors....I am installing it on my /usr/local directory....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.