LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   pkg-config, gaim.pc not found (https://www.linuxquestions.org/questions/linux-newbie-8/pkg-config-gaim-pc-not-found-276942/)

ncharoe 01-12-2005 11:56 AM

pkg-config, gaim.pc not found
 
I'm trying to install gaim-decryption and I'm getting this error:

checking for pkg-config... /usr/bin/pkg-config
checking for gaim... Package gaim was not found in the pkg-config search path.
Perhaps you should add the directory containing `gaim.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gaim' found

configure: error: Library requirements (gaim) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix sopkg-config can find them.


NOTE:
I installed Gaim-1.1.1 using AutoPackage and not from source. It seem like somehow the autopackage didn't create gaim.pc inside the /usr/lib/pkgconfig.

ncharoe 01-12-2005 01:02 PM

Anyone at all has any solution or suggestion?? Please help me. I've been fiddling with this problem all day already.. Thank you in advance..

__J 01-12-2005 01:03 PM

What disto? does it have any type of -devel packages for gaim you didn't install?

ncharoe 01-12-2005 01:35 PM

I used the autopackage to install my gaim so I'm not sure it installed any -devel packages. maybe I should try installing from the source packages..

__J 01-12-2005 01:39 PM

use the autopackage again and see it has a gaim-devel package. what distro is this again? I'm not sure what you mean by autopackage

mhearn 01-13-2005 05:58 AM

Hi,

The gaim package does not install the -devel files by default because it's assumed most people will not be compiling their own plugins against it. Tim is aware that this is something a few people may wish to do and will probably build a -devel autopackage to go with it at some point, however this service is still new and this is one of those teething problems.

For now I would suggest uninstalling Gaim by running "package remove gaim" from the command line, and either:

- Installing Gaim from an RPM for your distro
or
- Installing from the source

This will give you the .pc files you need. In future hopefully the Gaim Decryption guys will provide autopackages as well.

ncharoe 01-13-2005 09:16 AM

__J,
I'm using SuSE 9.2 Distro.

mhearn,
I think this what I was looking for.

Thank you guys..

ncharoe 01-13-2005 10:05 AM

mhearn, another question please:

I uninstalled the gaim package using "package remove gaim" That seem to remove it.
So I got an Gaim 1.1.1 RPM package for SuSE 9.2. I was able to install it but I still can't find gaim.pc.

What I'm trying to do is install gaim-encryption 2.32 and I keep getting

checking for gaim... Package gaim was not found in the pkg-config search path.
Perhaps you should add the directory containing `gaim.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gaim' found

What else should I try to do??

Joe

mhearn 01-13-2005 12:12 PM

You need to install gaim *and* gaim-devel RPMs. It's the -devel package gaim-encryption wants.

ncharoe 01-13-2005 03:07 PM

I do have the gaim-devel installed now I'm getting this message instead. I also have the mozilla-nss installed as well.

checking for mozilla-nss... Package mozilla-nss was not found in the pkg-config search path.
Perhaps you should add the directory containing `mozilla-nss.pc'
to the PKG_CONFIG_PATH environment variable
No package 'mozilla-nss' found
checking for Mozilla nspr4 includes... no
configure: error: You need to specify --with-nspr-includes="dir"
(where "dir" is the location of the NSPR headers like prio.h)

I'm pretty new to Linux SuSE.. :(

mhearn 01-13-2005 03:51 PM

Wow, man, gaim encryption really isn't easy to install is it? I see they have Fedora RPMs but no SuSE RPMs. These guys should check out autopackage :) Maybe if you asked them and explained the trouble you were having they'd do so?

Well enough daydreaming ... you need to install the Mozilla NSS -devel package now. Unfortunately I have no clue what this is called or where you'd get it from on SuSE. Sorry I can't help further.

mhearn 01-13-2005 04:01 PM

Oh it seems you must build Gaim with NSS from the gaim-encryption fAQ. Gaim has an entire page dedicated to SSL problems. I guess you'll have to read it.

ncharoe 01-15-2005 11:07 AM

Thanks for all your assistances mhearn.


All times are GMT -5. The time now is 04:32 PM.