[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sndfile.pc ?



On Sat, Feb 08, 2003 at 01:44:05PM -0500, stan wrote:
> On Sat, Feb 08, 2003 at 11:00:07AM +0000, Colin Watson wrote:
> > On Fri, Feb 07, 2003 at 10:07:21PM -0500, stan wrote:
> > > In any case, I manged to get autogen.sh to run, only to have configure fail
> > > looking for a file called sndfile.pc. It seems to be searching for this
> > > with /usr/bin/pkg-config.
> > 
> > You should be able to find the answer to all such questions using
> > http://packages.debian.org/, trying various values for the Distribution
> > field.
> 
> Actually, if I understand what's going on here. The configure script is
> trying to use something called /usr/bin/pkg-config to search for installed
> packages.
> 
> I was hoping to get some insight into this tool, and how well integrated it
> is into "the Debian way" of doing things.

It's not really related to any semi-mythical "Debian way". :) pkg-config
isn't looking for installed packages: it's looking for compile and link
flags to pass to the compiler in order to build with certain libraries.
It's an approach taken by many *-config tools over the years, and
pkg-config is an attempt to make it generic. As far as integration goes,
it's just an ordinary package like many other, although I believe it's
used by a good deal of GNOME 2.

There's more information in its man page.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: