LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-14-2004, 11:45 PM   #1
eggoz
Member
 
Registered: Feb 2003
Posts: 159

Rep: Reputation: 30
Package Missing yet Installed


I am trying to install a program which requires some of the gift packages. When I try to configure the gift-openft-0.2.1.2 package. When configuring, I get this error message: checking for pkg-config... /usr/bin/pkg-config
checking for libgift >= 0.11.4 libgift < 0.12.0... Package libgift was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgift.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgift' found

configure: error: Library requirements (libgift >= 0.11.4 libgift < 0.12.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.

I checked if the rpm is installed, and it tells me it is.
[root@linuxlaptop gift-openft-0.2.1.2]# rpm -q libgift
libgift-0.11.4-1

I'm lost. I believe the file libgift.pc is in the libgift package? Any ideas?
 
Old 02-15-2004, 12:17 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
echo $PKG_CONFIG_PATH
locate libgift\.pc

If locate returns something that's not in
$PKG_CONFIG_PATH add it to $PKG_CONFIG_PATH



Cheers,
Tink
 
Old 02-15-2004, 08:47 AM   #3
Sargek
Member
 
Registered: Jan 2003
Location: San Antonio, Texas
Distribution: Debian testing
Posts: 416

Rep: Reputation: 36
Path

Quote:
Originally posted by Tinkster
echo $PKG_CONFIG_PATH
locate libgift\.pc

If locate returns something that's not in
$PKG_CONFIG_PATH add it to $PKG_CONFIG_PATH



Cheers,
Tink
When you locate the pc file, you add the path you found it in to the PKG_CONFIG_PATH variable like this:

export PKG_CONFIG_PATH=path to pc file you found

If there are multiple paths, seperate them with a colon. My pc files are in:
/usr/local/lib/pkgconfig and /usr/lib/pkgconfig

so I would do this: export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig

Good luck!

Paul
 
Old 02-15-2004, 11:38 AM   #4
eggoz
Member
 
Registered: Feb 2003
Posts: 159

Original Poster
Rep: Reputation: 30
Thanks for the help. Unfortunatly, that didn't work. It didn't return anything.

Quote:
[root@linuxlaptop gift-openft-0.2.1.2]# echo $PKG_CONFIG_PATH

[root@linuxlaptop gift-openft-0.2.1.2]# locate libgift\.pc
 
Old 02-15-2004, 12:30 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
That's a bit odd ... in this case, modfiy the locate
statement a bit
locate \.pc
That should return ALL pkg_config configuration
files ... have a look at the output.


Cheers,
Tink
 
Old 02-15-2004, 12:48 PM   #6
eggoz
Member
 
Registered: Feb 2003
Posts: 159

Original Poster
Rep: Reputation: 30
It returned a bunch of things as imagined. But this did stick out like a sore thumb.
Code:
/root/Diego/downloads/apollon-dist/gift-0.11.6/lib/libgift.pc.in
/root/Diego/downloads/apollon-dist/gift-0.11.6/lib/libgift.pc
 
Old 02-15-2004, 01:00 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
That location, to me, suggests that you didn't
do a "make install" ...


Cheers,
Tink
 
Old 02-15-2004, 01:18 PM   #8
eggoz
Member
 
Registered: Feb 2003
Posts: 159

Original Poster
Rep: Reputation: 30
No, I got as far as making a ./configure when this problem occured.
 
Old 02-15-2004, 02:13 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Ummm ...

Quote:
gift-openft-0.2.1.2
!=
Quote:
gift-0.11.6
You need to have one installed to configure the other.
And you haven't .... or your slocate database is too
old ... if this is the case I can't tell you what you did
wrong ;)


Cheers,
Tink
 
Old 02-15-2004, 02:39 PM   #10
eggoz
Member
 
Registered: Feb 2003
Posts: 159

Original Poster
Rep: Reputation: 30
Hmmm. I went back to the gift.sourceforge webpage and started reading up more info. I found out I am not the only one with this problem. The good news is somebody has created a patch (for what appears to be my problem). http://sourceforge.net/tracker/?grou...18&atid=411727 Now to just figure out how to install this patch. Hopefully this is will slove this problem. Thank you again for your help.
 
Old 08-11-2004, 06:44 PM   #11
ka9qlq
Member
 
Registered: Feb 2004
Location: Columbus, IN USA
Distribution: Mepis 3.4 rc1
Posts: 119

Rep: Reputation: 26
Well I installed
apollon-0.9.3-3plf.i586.rpm
giftui-0.4.1-1plf.i586.rpm
gift-0.11.6-1plf.i586.rpm
libapollon0-0.9.3-3plf.i586.rpm
gift-fasttrack-0.8.5-1plf.i586.rpm
libgift0-0.11.6-1plf.i586.rpm
gift-openft-0.2.1.1-4plf.i586.rpm
and everything works fine so I tried installing gift-gnutella-0.0.9.2.tar.gz [couldn't find the rpm] and it won't confuger so I tried finding libgift.pc and it's not anywhere on my pc
[ka9qlq@192 Zilla]$ locate libgift
/usr/lib/libgift.so.0
/usr/lib/libgiftproto.so.0.0.0
/usr/lib/libgift.so.0.0.0
/usr/lib/libgiftproto.so.0
Now like I said everything works, but no libgifl.pc. What package has libgift anyway? I'd like to get the plug-in in.
Thanks.
Alvin
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
missing package Xtife Mandriva 17 11-18-2005 06:59 PM
RPM package manager says package needs to be installed. But I already installed it! nick623 Linux - Software 2 05-24-2005 02:15 AM
message "Problem during installation: x package needed for (installed) x package frayed2 Linux - Newbie 1 04-24-2005 07:05 PM
Just installed GAIM 1.1.2 package from Slackware.com, missing protocols. EOHooligan Slackware 4 02-06-2005 12:11 PM
Does apt-get install <package> upgrade the package if it is already installed? davidas Debian 4 04-05-2004 06:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:29 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
Open Source Consulting | Domain Registration