LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 10-08-2006, 06:14 AM   #1
intramaweb
LQ Newbie
 
Registered: May 2006
Location: Coventry, UK
Distribution: CentOS 5
Posts: 15

Rep: Reputation: 0
How to adjust PKG_CONFIG_PATH - fontconfig-2.4.0 config error


I'm tyring to install fontconfig-2.4.0, but i'm getting the following error when I run ./compile

Quote:
No package 'libxml-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
I have already installed libxml so that's not the problem. Can someone explain how I ajdust PKG_CONFIG_PATH and what I adjust it too? I guess I need to tell it the path of libxml if it can't find it.

Sorry if this should be posted in the newbie forum! Thanks all.
 
Old 10-08-2006, 07:58 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
You must adjust PKG_CONFIG_PATH to point to the directroy where libxml-2.0.pc is. If you installed libxml from source without the --prefix option then it should be in /usr/local/lib/pkgconfig. So before running ./configure for fontconfig you have to use:
Code:
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
 
Old 09-20-2007, 03:46 PM   #3
bmahaffey
LQ Newbie
 
Registered: Sep 2007
Posts: 1

Rep: Reputation: 0
Thank you very much this helped me out a lot. Finally can move forward with the RRD Tool install.
 
  


Reply

Tags
compile, error, fontconfig, install, path



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
PKG_CONFIG_PATH error abcd123 Linux - Software 6 10-24-2006 03:25 PM
Fontconfig error umaru Slackware 8 08-04-2006 10:49 AM
Fontconfig error; can't start X Alien_Hominid Slackware 3 01-31-2006 11:48 AM
Pkg_config_path Error lonsky2you Linux - Software 3 07-01-2005 12:19 PM
Installing fontconfig 2.2.0 error tfdml37 Red Hat 5 04-07-2004 01:10 AM

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

All times are GMT -5. The time now is 07:50 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