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 |
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 like /usr/local or /opt or wherever you like to install to. |
All times are GMT -5. The time now is 10:00 AM. |