LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   about PKG_CONFIG and *.pc (https://www.linuxquestions.org/questions/linux-software-2/about-pkg_config-and-%2A-pc-389157/)

yumener 12-04-2005 11:42 AM

about PKG_CONFIG and *.pc
 
hello

I have a problem in PKG_CONFIG setting.

I want to compile source of gaim-1.5.0, it asked for
silc and silcclient library. I did installed these
two library and it is located at /usr/share/lib/silc/lib

but when I run configure in gaim-1.5.0 install dir, it
complains that can not find silc.pc, silcclient.pc,

I want to know do I need to create slic.pc and silcclient.pc
by myself? because I saw silc.pc.in and silcclient.pc.in in
the source dir of silc. but silc.pc does not exist /usr/lib/pkgconfig

In which cases, the installaton process of a library will
create *.pc in /usr/lib/pkgconfig ?

Y

__J 12-04-2005 01:45 PM

check in /usr/share/lib/silc/ for a directory called pkgconfig, if this is the install root this is where the files will be. If they are there ( /usr/share/lib/silc/pkgconfig), then do the following:

Code:

export PKG_CONFIG_PATH=/usr/share/lib/silc/pkgconfig:$PKG_CONFIG_PATH
what this does is set another path for pkg-config to look in for .pc files. you would be better off though installing silc and silc-client in a more standard place
like /usr/local or /opt or wherever you like to install to.


All times are GMT -5. The time now is 10:00 AM.