LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


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

Rep: Reputation: 0
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???
 
Old 04-10-2006, 04:00 PM   #2
tomdkat
Member
 
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.

Peace...
 
Old 04-10-2006, 07:38 PM   #3
quip
Member
 
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
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.
 
  


Reply



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



LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:11 AM.

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