LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   "PKG_CONFIG_PATH environment variable" huh? plz help (https://www.linuxquestions.org/questions/linux-software-2/pkg_config_path-environment-variable-huh-plz-help-237164/)

David_g17 09-30-2004 01:50 PM

"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

HappyTux 09-30-2004 02:09 PM

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


David_g17 09-30-2004 06:09 PM

where can i get the .pc files that i need?

HappyTux 09-30-2004 06:33 PM

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.


All times are GMT -5. The time now is 03:00 AM.