LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 08-12-2003, 06:51 PM   #1
JreL
LQ Newbie
 
Registered: Aug 2003
Location: Tracy, California
Posts: 17

Rep: Reputation: 0
Exclamation GTK install helpplz!


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.
 
Old 08-12-2003, 09:27 PM   #2
ovf
Member
 
Registered: Jul 2003
Location: Massachusetts
Distribution: LFS 4.0, Windows XP, Ubuntu 10.01, Gentoo 2.6.32-r7, OpenSolaris
Posts: 100

Rep: Reputation: 15
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".
 
Old 08-13-2003, 03:43 AM   #3
JreL
LQ Newbie
 
Registered: Aug 2003
Location: Tracy, California
Posts: 17

Original Poster
Rep: Reputation: 0
[root@localhost pkgconfig]# ls
glib-2.0.pc gmodule-2.0.pc gobject-2.0.pc gthread-2.0.pc
 
Old 08-13-2003, 08:40 AM   #4
ovf
Member
 
Registered: Jul 2003
Location: Massachusetts
Distribution: LFS 4.0, Windows XP, Ubuntu 10.01, Gentoo 2.6.32-r7, OpenSolaris
Posts: 100

Rep: Reputation: 15
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?
 
Old 08-14-2003, 10:13 AM   #5
JreL
LQ Newbie
 
Registered: Aug 2003
Location: Tracy, California
Posts: 17

Original Poster
Rep: Reputation: 0
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?
 
Old 08-14-2003, 12:39 PM   #6
ovf
Member
 
Registered: Jul 2003
Location: Massachusetts
Distribution: LFS 4.0, Windows XP, Ubuntu 10.01, Gentoo 2.6.32-r7, OpenSolaris
Posts: 100

Rep: Reputation: 15
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.
 
Old 08-15-2003, 12:42 AM   #7
JreL
LQ Newbie
 
Registered: Aug 2003
Location: Tracy, California
Posts: 17

Original Poster
Rep: Reputation: 0
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!!!!!!!

Last edited by JreL; 08-15-2003 at 12:45 AM.
 
Old 08-15-2003, 10:41 AM   #8
cantrooper
LQ Newbie
 
Registered: Aug 2003
Posts: 17

Rep: Reputation: 0
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?
 
Old 08-15-2003, 07:03 PM   #9
ovf
Member
 
Registered: Jul 2003
Location: Massachusetts
Distribution: LFS 4.0, Windows XP, Ubuntu 10.01, Gentoo 2.6.32-r7, OpenSolaris
Posts: 100

Rep: Reputation: 15
Are you downloading from www.gtk.org?

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.

Last edited by ovf; 08-15-2003 at 08:38 PM.
 
Old 08-18-2003, 09:43 AM   #10
cantrooper
LQ Newbie
 
Registered: Aug 2003
Posts: 17

Rep: Reputation: 0
I am giving it another try

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....

Manuel
 
Old 08-18-2003, 10:37 AM   #11
cantrooper
LQ Newbie
 
Registered: Aug 2003
Posts: 17

Rep: Reputation: 0
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....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GTK source install doesn't give gtk-config Feebles Linux - Software 4 06-15-2005 01:51 PM
Can I install GTK-1.x.x although GTK-2.x.x has already been install in Fedora3 ? Vincenttalk Linux - Software 4 04-13-2005 11:32 PM
cant find gtk-config file or gtk-devel to install happychappy Linux - Software 2 02-16-2005 01:46 AM
GTK, GTK+ and MPlayer won't install ? ivan@elfak Linux - Newbie 4 02-29-2004 08:19 PM
Need Help Install GTK saturninus Linux - Newbie 1 08-29-2003 09:38 PM


All times are GMT -5. The time now is 09:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration