LinuxQuestions.org
Review your favorite Linux distribution.
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 01-04-2005, 04:45 PM   #1
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
Dependency issue with instaled deps


I'm trying to install gwget. I get the following error when running
Code:
$ ./configure
<snip>
checking for libgnomeui-2.0 >= 2.0.0
                          gtk+-2.0      >= 2.4.0
                          libglade-2.0  >= 2.0.0... Package libgnomeui-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgnomeui-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgnomeui-2.0' found

configure: error: Library requirements (libgnomeui-2.0 >= 2.0.0
                          gtk+-2.0      >= 2.4.0
                          libglade-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.
However
Code:
$ slocate libgnomeui
returns the following:
Code:
/usr/lib/libgnomeui.so.32
/usr/lib/libgnomeui-2.so.0.800.0
/usr/lib/libgnomeui.so.32.14.1
/usr/lib/libgnomeui-2.so.0
/usr/share/locale/mk/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/ja/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/en_GB/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/mn/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/sr@ije/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/el/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/pt/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/sk/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/az/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/sq/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/uk/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/sr@Latn/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/da/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/lt/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/af/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/ne/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/eu/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/en_CA/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/ca/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/nn/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/ml/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/is/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/tk/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/be/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/ms/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/gu/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/hr/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/eo/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/sl/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/zh_TW/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/hu/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/cy/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/pl/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/ga/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/sr/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/nb/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/yi/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/bs/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/fi/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/lv/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/pa/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/wa/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/gl/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/vi/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/br/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/es/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/cs/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/li/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/ta/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/bn/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/pt_BR/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/hi/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/am/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/no/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/ar/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/sv/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/id/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/mi/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/bg/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/ru/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/th/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/et/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/fr/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/tr/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/ro/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/de/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/kn/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/zh_CN/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/fa/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/it/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/nl/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/mr/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/ko/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/locale/he/LC_MESSAGES/libgnomeui-2.0.mo
/usr/share/doc/libgnomeui-2.8.0
/usr/share/doc/libgnomeui-2.8.0/COPYING.LIB
/usr/share/doc/libgnomeui-2.8.0/NEWS
/usr/share/doc/libgnomeui-2.8.0/ChangeLog
/usr/share/doc/libgnomeui-2.8.0
which leads me to believe the package is installed.

How do I "add the directory containing `libgnomeui-2.0.pc' to the PKG_CONFIG_PATH environment variable"?
 
Old 01-04-2005, 04:50 PM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
should be the default but to check it:

echo $PKG_CONFIG_PATH

will give you the directories pkg_config_path is currently searching. to export a new directory to search (in this example i will use /usr/local/lib but it could be anything)

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH

will do.

Last edited by __J; 01-04-2005 at 05:17 PM.
 
Old 01-04-2005, 04:59 PM   #3
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993

Original Poster
Blog Entries: 1

Rep: Reputation: 46
Code:
linmix@localhost ~]$ echo $PKG_CONFIG_PATH

[linmix@localhost ~]$
??? so it's not set at all?

once I do "export PKG_CONFIG_PATH=/usr/local/lib:$PKG_CONFIG_PATH
" will that be permanate or do I need to ad it each time I run into a similar problem?
 
Old 01-04-2005, 05:17 PM   #4
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
no its not set.

when you export it, the path will be set for that session only. Once you log out (or close the xterm/console if thats what you are in) it will go back to unset. to make it permanent, add the export line in /etc/profile (this will be a global setting ie. all users) or to your $HOME/.bashrc file (for one specific user only).

by the way, that was a little wrong up above:

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH

is the right command (don't forget to add the pkgconfig directory at the end)
sorry about that.

check /usr/lib/pkgconfig and /usr/local/pkgconfig for the libgnomeui.pc file and add that directory to the PKG_CONFIG_PATH for configure scripts to pick it up
 
Old 01-04-2005, 05:21 PM   #5
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993

Original Poster
Blog Entries: 1

Rep: Reputation: 46
thnx. I'll look into it
 
  


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
Yum (yumex) dependency issue? linmix Linux - Software 2 02-03-2005 08:58 AM
rpm dependency issue afrodocter Linux - Software 1 04-15-2004 02:58 PM
How to troubleshoot dependency issue please? (Using YUM) davidas Linux - Newbie 2 03-29-2004 06:52 PM
Gentoo Dependency Issue NightShade737 Linux - Distributions 0 09-20-2003 04:27 AM
rpm dependency issue edverb Linux - Newbie 9 03-04-2003 03:20 AM

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

All times are GMT -5. The time now is 07:18 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