LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Path_pkg_config (https://www.linuxquestions.org/questions/slackware-14/path_pkg_config-433812/)

fafis 04-10-2006 03:45 PM

Path_pkg_config
 
hi guys

i've installed liboil 0.3.6 but garnome doesn't find it in the pkg-config path. how can i add it manually???

tomdkat 04-10-2006 04:00 PM

You need to find "liboil.pc" or "oil.pc" and put that path in PKG_CONFIG_PATH.

Try this command:

$ find / -name "*oil*.pc"

Record where any files are found and put the path to the file in PKG_CONFIG_PATH:

$ export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:{/path/to/liboil.pc}

Then re-run your configure of garnome.

Peace...

quip 04-10-2006 07:38 PM

Just a side note to add to the post by tomdkat, which will work fine:

You can usually specify the PKG_CONFIG_PATH variable on the command line, and pass it to the configure script. I've never had a package that didn't have the *.pc file in either /usr/lib/pkgconfig or /usr/local/lib/pkgconfig, although that's certainly not a guarantee. Anyway, if the needed file is in one of the two spots I mentioned, then most software will be fine with
Code:

./configure PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig
which will search for the package in those directories, in said order.

Or you can set the environment variable as stated.


All times are GMT -5. The time now is 01:23 PM.