LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-02-2003, 11:17 PM   #1
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Rep: Reputation: 30
pkg-config environment variable


ive enver had to deal wiht this so i dont really know what im doing, im trying to install teh fast track plugin for giFT and it complains,

checking for libgift >= 0.10.0... Package libgift was not found in the pkg-confi
g search path.
Perhaps you should add the directory containing `libgift.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgift' found

configure: error: Library requirements (libgift >= 0.10.0) not met; consider adj
usting the PKG_CONFIG_PATH environment variable if your libraries are in a nonst
andard prefix so pkg-config can find them.


the answer to this in the README is

If you have giFT installed in a non-standard location (according to pkg-config,
you must make sure that PKG_CONFIG_PATH is set to the directory where libgift.pc
is located. Ex. export PKG_CONFIG_PATH=/usr/local/bin (for bash).

giFT is installed in /usr/local/bin/giFT and libs are in /usr/local/lib/giFT what im wondering is, how exactly

export PKG_CONFIG_PATH=/usr/local/bin

works,

do i just run that inside the fasttrack directory? or do i have to change it to giFT_CONFIG_PATH=/usr/local/bin/giFT or something else? sorry if im not makign much sense i need sleep...
 
Old 07-02-2003, 11:47 PM   #2
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
Type: export PKG_CONFIG_PATH=/usr/local/bin , right before you install the program. It doesn't matter what directory you are in. That choice stays current for that session. So if you open another Terminal, log in as a different user, restart, then that selection is lost and you have to do it again.
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
environment variable gamor Linux - Newbie 4 04-30-2005 05:28 PM
Environment Variable salmanucit Linux - Software 2 07-21-2004 02:27 AM
environment variable mimi Linux - Newbie 1 04-10-2002 08:29 AM
environment variable mimi Linux - General 2 04-10-2002 07:45 AM
glib config environment variable lacrimae Linux - Software 0 03-30-2002 12:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:26 PM.

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