LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 06-29-2005, 05:11 PM   #1
lonsky2you
LQ Newbie
 
Registered: Jun 2005
Location: Bucharest, Romania
Distribution: Suse 9.2
Posts: 2

Rep: Reputation: 0
Unhappy Pkg_config_path Error


Hi, it's me again.
I'm trying to configure gtk+ as a dependency for Wulfor reloaded and i'm getting this error message:
configure: error: Library requirements (glib-2.0 >= 2.6.0 atk >= 1.0.1 pango >= 1.7.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.
although i've been installing all the packages above. So, where can i find the pkg_config_path string to add the value to it or whatever else i should do?
Thanks for the other answer.
 
Old 06-30-2005, 03:34 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
gotta guess the usual problem that you've not installed glib-devel, atk-devel or pang-devel from RPM....
 
Old 06-30-2005, 07:42 PM   #3
thinhla
Member
 
Registered: Jun 2005
Distribution: Mandrakelinux 10.1
Posts: 52

Rep: Reputation: 15
This is a very common problem when you're new to linux (me myself included)

As the error says: "configure: error: Library requirements (glib-2.0 >= 2.6.0 atk >= 1.0.1 pango >= 1.7.0) not met;" You need to install these packages first before you can compile gtk+

you can install using rpm packages but I always try to compile the packages manually.

Download the source of thsese glib-2, atk, and pango packages

Then when you do ./configure just specify the path where it goes by using --prefix
Something like this
Code:
$ ./configure --prefix=/usr
once done you can verify whether it's install

Code:
pkg-config --modversion glib-2.0
this should return the version number of your package installed. Hope that helps
 
Old 07-01-2005, 12:19 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
erm,..... no. don't do that. that's a REALLY bad way to do it.

1) you install suse 9.2 which includes gtk2-2.6, glib, atk etc.. by default as rpms, against which other gtk apps are dynamically linked.

2) you try to install something from source

3) source complains you don't have gtk2 installed

4) you install gtk2 fully from source.

5) you have headers for gtk2-2.7 in /usr/local/include

6) you have libraries for gtk2-2.7 in /usr/local/lib/gtk

7) you have libraries for gtk2-2.6 in /usr/lib/gtk

8) you compile your program, it links against the wrong thing.

9) you have a sack of crap for a system eventually.

do not just reinstall from scratch. it's really not the way to a healthy system unless you actually REMOVE the existing install of gtk2.

so once again... install gtk2-devel glib-devel etc... and THEN go back and ./configure your source pacakge again, and it should be fine.

Last edited by acid_kewpie; 07-01-2005 at 12:20 PM.
 
  


Reply



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
Pkg_config_path rlnd Linux - Software 15 03-06-2009 02:26 PM
Pkg_config_path Kiwi UK Linux - Software 5 12-18-2004 01:36 PM
PKG_CONFIG_PATH environment Micro420 Linux - Software 3 12-17-2004 07:57 PM
Pkg_config_path box_l Mandriva 3 08-03-2004 04:53 AM
Pkg_config_path kilgore_trout Linux - Software 0 09-08-2003 12:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:49 PM.

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
Open Source Consulting | Domain Registration