Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 04-10-2006, 03:45 PM   #1
LQ Newbie
Registered: Aug 2005
Location: Greece
Distribution: Slackware
Posts: 12

Rep: Reputation: 0

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???
Old 04-10-2006, 04:00 PM   #2
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
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.

Old 04-10-2006, 07:38 PM   #3
Registered: Jun 2003
Distribution: Slackware
Posts: 100

Rep: Reputation: 15
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
./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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:53 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration