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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
08-31-2003, 02:19 PM
|
#1
|
Member
Registered: Aug 2003
Location: Canada
Distribution: RH, Fedora, Debian
Posts: 128
Rep:
|
"pan" install issue - kpg-config & glib?
Hello,
I'm attempting to install pan v.0.14.2 and when I run ./configure I get this error. I would presume that means my libs are out of date? Weird, I just bought SuSE 8.2! LOL! Can anyone shed light on this?
Thanks
*** The pkg-config script could not be found. Make sure it is
*** in your path, or set the PKG_CONFIG environment variable
*** to the full path to pkg-config.
*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config.
configure: error: Library requirements (glib-2.0 >= 2.2.0 gthread-2.0 >= 2.2.0 gobject-2.0 >= 2.2.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.
**EDIT***
BTW, I did get pkg-config from freedesktop.org and installed that without a hitch.. how do I use it?? (it's installed in /usr/local/bin
Last edited by LooseCanon; 08-31-2003 at 04:10 PM.
|
|
|
08-31-2003, 03:23 PM
|
#2
|
LQ Guru
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445
Rep:
|
you have to set the "PKG_CONFIG_PATH" variable before you run the ./configure script.
If you're using BASH as your shell (you most likely are), you use this command:
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
You may have to change /usr/local/lib/pkgconfig to the right path, though thats the standard location.
That variable will only stay set for that session. So if you close the terminal or switch users, you lose that.
If you want it to be permanent, edit your /home/user/.bashrc
to have "export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig" in it.
|
|
|
08-31-2003, 03:47 PM
|
#3
|
Member
Registered: Aug 2003
Location: Canada
Distribution: RH, Fedora, Debian
Posts: 128
Original Poster
Rep:
|
Hmmm.
tried exporting the path like you mentioned and still get the same warning/error. Then I figured that the path must be wrong - as you mentioned it (/usr/local/lib). When I installed pkg-config it deposited a file called "pkg-config" in my /usr/local/bin. So I used that path instead just to test and I still got the same warning/error.
I'll keep hackin away ... something's bound to give.
here's the full path to where "pkg-config" resides right now:
/usr/local/bin/pkg-config
|
|
|
08-31-2003, 03:55 PM
|
#4
|
Member
Registered: Aug 2003
Location: Canada
Distribution: RH, Fedora, Debian
Posts: 128
Original Poster
Rep:
|
ok, well I figured that instead of the PATH I'll just tell it where the pkg-config file IS, so I typed:
export PKG_CONFIG=/usr/local/bin/pkg-config
then
./configure
Seemed to be thinking more this time, but finished with this:
- checking for glib-2.0 >= 2.2.0 gthread-2.0 >= 2.2.0 gobject-2.0 >= 2.2.0... Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
configure: error: Library requirements (glib-2.0 >= 2.2.0 gthread-2.0 >= 2.2.0 gobject-2.0 >= 2.2.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.
- now I have to point to glib, gobject and gtherad - right?
*** EDIT ***
Oh boy..... just checked my system and couldn't find anything glib or gthread or gobject... so I googled for "glib" and it seems I need GTK+ to get it... BUT GTK+ needs other files to run properly.... Am I getting myself into "dependency hell" here?
Last edited by LooseCanon; 08-31-2003 at 04:09 PM.
|
|
|
08-31-2003, 04:24 PM
|
#5
|
LQ Guru
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445
Rep:
|
Im sorry, I should have been more clear.
That path is NOT for the location of the pkg-config binary, but for other libraries that programs (mostly part of GNOME) use.
Its a way to have a standard location to store libraries and their info.
The folder will always end in /pkgconfig.
On my machine, I have a few locations, the main one is:
/usr/lib/pkgconfig
try that. But doing a:
su
[enter root password]
updatedb
[database updated]
locate /pkgconfig
will give you all the locations.
|
|
|
08-31-2003, 05:05 PM
|
#6
|
Member
Registered: Aug 2003
Location: Canada
Distribution: RH, Fedora, Debian
Posts: 128
Original Poster
Rep:
|
hmm.. ok thanks about that. *phew* LOL!
"updatedb" doesn't work, but I did find /pkgconfig in my /usr/lib/ using whereis. I'll try changing the cmd and try the ./config again.
I did a little searching and noticed that I DO have glib installed (2.2.1) (updated just recently through online update to SuSE) but I can't find that file anywhere when I do a search. Gees, talk about hidden files.
**** EDIT ****
ok, well just like before... the pkg thing seems to work but I end up with this error at ./configure
- checking for glib-2.0 >= 2.2.0 gthread-2.0 >= 2.2.0 gobject-2.0 >= 2.2.0... Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
configure: error: Library requirements (glib-2.0 >= 2.2.0 gthread-2.0 >= 2.2.0 gobject-2.0 >= 2.2.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.
Like I mentioned, I do have glib 2.2.1 installed through the last online update to SuSE but when I do a search for it - it's nowhere to be found.
Last edited by LooseCanon; 08-31-2003 at 05:09 PM.
|
|
|
All times are GMT -5. The time now is 06:19 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|