delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/29/14:39:11

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <42727F24.70304@quicknet.nl>
Date: Fri, 29 Apr 2005 20:38:28 +0200
From: Teun Burgers <a DOT rburgers AT quicknet DOT nl>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: pkgconfig 0.17.2-1 is broken?
X-MultiKabel-MailScanner-Information: Please contact helpdesk AT quicknet DOT nl for more information
X-MultiKabel-MailScanner: Found to be clean
X-MultiKabel-MailScanner-SpamCheck:
X-MultiKabel-MX-MailScanner-Information: Please contact helpdesk AT quicknet DOT nl for more information
X-MultiKabel-MX-MailScanner: Found to be clean
X-MultiKabel-MX-MailScanner-SpamCheck:
X-MailScanner-From: a DOT rburgers AT quicknet DOT nl

I think there is a problem with pkgconfig 0.17.2-1.
For instance, /usr/lib/pkgconfig/gdk.pc
depends on /usr/lib/pkgconfig/glib.pc:

For glib one correctly gets:

clientxp#1(~)$ pkg-config --libs glib
-lglib

For gdk one gets:

clientxp#1(~)$ pkg-config --libs gdk
-L/usr/X11R6/lib -lgdk -lintl -lXext -lX11 -lm

Note that -lglib is *not* added to the list of libraries.

These are the contents of /usr/lib/pkgconfig/gdk.pc: there is a 
dependency on glib.

clientxp#1(~)$ cat /usr/lib/pkgconfig/gdk.pc
prefix=/usr
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include

Name: GDK
Description: GIMP Drawing Kit
Version: 1.2.10
Requires: glib
Libs: -L${libdir}   -L/usr/X11R6/lib -lgdk -lintl  -lXext -lX11  -lm
Cflags: -I${includedir}/gtk-1.2  -I/usr/X11R6/include

running pkg-config with PKG_CONFIG_DEBUG_SPEW=1 set shows that it
finds the correct .pkg files.

If I revert to 0.15.0-4, pkg-config --libs gdk will correctly list 
-lglib. Has pkg-config's functionality changed (I don't think so)
or is this a bug?

Teun

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019