[Telepathy] pkg-config

Simon McVittie simon.mcvittie at collabora.co.uk
Wed Jul 30 07:29:33 PDT 2008


On Wed, 30 Jul 2008 at 12:02:59 +0000, Frederik Himpe wrote:
> It seems nothing is providing pkg-config > 0.21. Actually, I did not find 
> any pc file which has a requirement on pkg-config at all. Mandriva is 
> using pkgconfig-0.23.

pkgconfig knows its own version without needing a .pc file. On Debian:

smcv at carbon% ls /usr/share/pkgconfig/pkg-config.pc /usr/lib/pkgconfig/pkg-config.pc
ls: cannot access /usr/share/pkgconfig/pkg-config.pc: No such file or directory
ls: cannot access /usr/lib/pkgconfig/pkg-config.pc: No such file or directory
smcv at carbon% pkg-config --modversion pkg-config
0.22
smcv at carbon% pkg-config --debug --modversion pkg-config 2>&1 | grep pkg-config
Adding virtual 'pkg-config' package to list of known packages

We need pkg-config >= 0.21 because the dependency handling changed in
that version. In earlier versions, CFLAGS from Requires.private were not
added to the command line, which would break compilation of
projects that use telepathy-glib.

See http://bugs.freedesktop.org/show_bug.cgi?id=15199 for more in the
pkg-config saga.

(The mechanism we use doesn't work in Fedora, because their pkg-config
is buggy - https://bugzilla.redhat.com/show_bug.cgi?id=426106 for details.
I hope Mandriva doesn't have this bug.)

    Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/telepathy/attachments/20080730/2cf00c58/attachment.pgp 


More information about the Telepathy mailing list