LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 02-06-2008, 07:23 PM   #1
sonichedgehog
Member
 
Registered: Oct 2007
Location: London UK
Distribution: Fedora Core 17
Posts: 296

Rep: Reputation: 32
How do I add to the pkg_config_path environment variable?


I am using synce-svn applications, (full detail in thread http://www.linuxquestions.org/questi...source-618713/ ) and, in the process of compiling, received an error message including:

"Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables WBXML2_CFLAGS
and WBXML2_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details."
Package libxml-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxml-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libxml-2.0', required by 'libwbxml2', not found"
This is not necessarily a problem- I have been in touch with sourceforge and it is possible that I won't need any of these packages.

However, I would like to learn how to overcome this type of situation in the future- ie where will I find pkg_config_path and how do I add to it? Thank you -Phil
 
Old 02-06-2008, 07:39 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,590

Rep: Reputation: 187Reputation: 187
Quote:
Originally Posted by sonichedgehog View Post

However, I would like to learn how to overcome this type of situation in the future- ie where will I find pkg_config_path and how do I add to it? Thank you
To find PKG_CONFIG_PATH

echo $PKG_CONFIG_PATH

To add to PKG_CONFIG_PATH

PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/my/additional/config

-------------------
Steve Stites
 
Old 02-07-2008, 05:52 PM   #3
sonichedgehog
Member
 
Registered: Oct 2007
Location: London UK
Distribution: Fedora Core 17
Posts: 296

Original Poster
Rep: Reputation: 32
Thank you!
 
  


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
howto add an environment variable dtra Linux - Newbie 4 04-18-2005 07:22 PM
"PKG_CONFIG_PATH environment variable" huh? plz help David_g17 Linux - Software 3 09-30-2004 07:33 PM
PKG_CONFIG_PATH environment variable mohapi Linux - Software 8 01-11-2004 09:05 PM
Where is the PKG_CONFIG_PATH environment variable? jdruin Linux - Software 4 12-05-2003 09:31 PM
PKG_CONFIG_PATH environment variable hyperriven Linux - Software 2 10-24-2003 09:29 PM


All times are GMT -5. The time now is 03:16 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration