Results 1 to 5 of 5
I have a strange problem here. I had configured and exported PKG_CONFIG_PATH on my pc and I am using `pkg-config --cflags --libs gtk+-2.0` for compiling my code.
Everything worked fine ...
- 01-07-2009 #1Just Joined!
- Join Date
- Dec 2008
- Posts
- 4
PKG_CONFIG_PATH issue
I have a strange problem here. I had configured and exported PKG_CONFIG_PATH on my pc and I am using `pkg-config --cflags --libs gtk+-2.0` for compiling my code.
Everything worked fine untill I had to add libgnomecanvas path to the existing PKG_CONFIG_PATH. So I decided to check the original PKG_CONFIG_PATH [a sanity check] before I modify it. But I cannot find the existing PKG_CONFIG_PATH in env & echo $PKG_CONFIG_PATH returns NULL. But strangely the code compiles
So where is the PKG_CONFIG_PATH I had set?
- 01-07-2009 #2Just Joined!
- Join Date
- Dec 2008
- Posts
- 7
If you type env at the prompt what do you have ?
- 01-07-2009 #3Just Joined!
- Join Date
- Dec 2008
- Posts
- 4
I get list of all paths except PKG_CONFIG_PATH
- 01-07-2009 #4Just Joined!
- Join Date
- Dec 2008
- Posts
- 7
try this
env | more
check carefully if you have something that looks like PKG_CONFIG_PATH.
if yes, perhaps you have mistyped
if no then
{ the variable PKG_CONFIG_PATH have not been exported;
check your reference manual to know how to export it;
}
- 01-07-2009 #5Just Joined!
- Join Date
- Dec 2008
- Posts
- 4
I tried exporting the PKG_CONFIG_PATH. But now I am not able to compile the code which I previous could. I dont know what export has done to this path.


Reply With Quote
