LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-30-2004, 01:50 PM   #1
David_g17
LQ Newbie
 
Registered: Nov 2003
Posts: 29

Rep: Reputation: 15
"PKG_CONFIG_PATH environment variable" huh? plz help


i'm very new to linux, but i'm not giving up over something so small as this.

i'm trying to install a program (called gnomesword2) so, here's what happens when i try to configure.

Code:
[david@localhost gnomesword2-2.0.0]$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking for libgnomeui-2.0 gtk+-2.0 libgtkhtml-3.0 gal-2.0 libxml-2.0 sword... Package libgtkhtml-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgtkhtml-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgtkhtml-3.0' found
i'm guessing PKG_CONFIG_PATH is set in .bashrc or something somehow?

i have the libgtkhtml file:

Code:
[david@localhost gnomesword2-2.0.0]$ locate libgtkhtml-3.0
/usr/lib/libgtkhtml-3.0.so.4
/usr/lib/libgtkhtml-3.0.so.4.0.0
[david@localhost gnomesword2-2.0.0]$
any help or ideas are really appreciated.

edited to add: i'm using fedora core 2

Last edited by David_g17; 09-30-2004 at 01:55 PM.
 
Old 09-30-2004, 02:09 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
You only have the user library installed you need the developement file for the package installed.

Code:
>$ apt-file search libgtkhtml-3.0.so.4
libgtkhtml3.0-4: usr/lib/libgtkhtml-3.0.so.4
libgtkhtml3.0-4: usr/lib/libgtkhtml-3.0.so.4
libgtkhtml3.0-4: usr/lib/libgtkhtml-3.0.so.4.0.0
libgtkhtml3.0-4: usr/lib/libgtkhtml-3.0.so.4.0.0

>$ apt-file search libgtkhtml-3.0.pc
libgtkhtml3.0-dev: usr/lib/pkgconfig/libgtkhtml-3.0.pc
libgtkhtml3.0-dev: usr/lib/pkgconfig/libgtkhtml-3.0.pc
 
Old 09-30-2004, 06:09 PM   #3
David_g17
LQ Newbie
 
Registered: Nov 2003
Posts: 29

Original Poster
Rep: Reputation: 15
where can i get the .pc files that i need?
 
Old 09-30-2004, 06:33 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally posted by David_g17
where can i get the .pc files that i need?
I thought my post above would have made that clear but apparently not, the package you would need to install if using Debian would be libgtkhtml3.0-dev seeing as the user package seems to be named similarly perhaps this developement package will be too. You would need to search with whatever package manager you are using to find the package if the name is not the same then install it and it should be found then used when you try to compile.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
PKG_CONFIG_PATH environment variable mohapi Linux - Software 8 01-11-2004 08:05 PM
"MOZILLA_FIVE_HOME" environment variable cougyr Linux - Software 2 12-06-2003 11:51 PM
Where is the PKG_CONFIG_PATH environment variable? jdruin Linux - Software 4 12-05-2003 08:31 PM
"set an environment variable" JMCraig Linux - Newbie 4 02-17-2003 04:24 PM
How can I do some modification to my initialized "env" environment variable? yuzuohong Linux - General 3 12-18-2002 03:41 PM

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

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