You are not logged in.

#1 2008-04-22 20:45:37

phabulosa
Member
From: Mountain View, CA
Registered: 2007-10-17
Posts: 182
Website

Pkg_config_path

I have trouble to build midori from AUR.
It always says that WEBKITGTK was not found, but I just installed webkitgtk-svn.

I realized that midori used "pkg-config" to check whether webkitgtk is installed. webkitgtk-svn installed /usr/lib/pkgconfig/webkit-1.0.pc


So, it should work.

Later, I checked $PKG_CONFIG_PATH and I found out that

/usr/lib/pkgconfig

was not included at all.

What went wrong? Which packages might get corrupted?

Also, I cannot get pkg-config to work by

 export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/pkgconfig

Can someone explain a little bit how pkg-config works?

Offline

#2 2008-06-14 16:51:56

benmorgan
Member
From: Germany
Registered: 2006-07-28
Posts: 67

Re: Pkg_config_path

I feel your pain. I am trying to find the same thing out.
So if you find something, post it!

Last edited by benmorgan (2008-06-14 17:06:04)

Offline

#3 2008-06-14 19:07:48

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: Pkg_config_path

Normally in the UNIX world when we overwrite default paths, it's because we want to add in non-standard ones. Software authors, by default, will write in standard paths - /usr and /usr/local. That's why in our environment, PKG_CONFIG_PATH includes only the non-standard ones (those in opt, since they normally have a different layout/hierarchy by app/lib and not lib/app). That is also why, after finding out this fact, you're still not able to solve the problem. The problem is not with the path per se, but more of the name in the pkg-config file.

Check configure.in and configure, if provided. If not, there must be abother file that searches for this webkitgtk. It should be ammended to look for "webkit-1.0".


I need real, proper pen and paper for this.

Offline

Board footer

Powered by FluxBB