How to generate .pc files from package files?

Tollef Fog Heen tfheen at
Mon May 29 03:39:14 PDT 2006

Larry Evans wrote:
>, I was wondering if there was some way to generate the needed
> gconf-2.0.pc file from the information in the /var/lib/dpkg/available
> file?  I tried guessing the information by manually editing
> /usr/local/lib/pkgconfig/gconf-2.0.pc to contain:

There's not a 1:1 mapping between .pc file names and what package you 
need in order for something to build.  In this case, you should install 
libgconf2-dev which includes gconf-2.0.pc.

- tfheen

More information about the pkg-config mailing list