From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E0W6U-0004kW-Rg for garchives@archives.gentoo.org; Thu, 04 Aug 2005 03:09:07 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j74379aa030553; Thu, 4 Aug 2005 03:07:09 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7431BOd008967 for ; Thu, 4 Aug 2005 03:01:11 GMT Received: from ylpvm29-ext.prodigy.net ([207.115.57.60] helo=ylpvm29.prodigy.net) by smtp.gentoo.org with esmtp (Exim 4.43) id 1E0VzM-0000Ki-VQ for gentoo-user@lists.gentoo.org; Thu, 04 Aug 2005 03:01:45 +0000 Received: from pimout3-ext.prodigy.net (pimout3-int.prodigy.net [207.115.4.218]) by ylpvm29.prodigy.net (8.12.10 outbound/8.12.10) with ESMTP id j7431Csx013610 for ; Wed, 3 Aug 2005 23:01:12 -0400 X-ORBL: [64.108.36.184] Received: from sewage.raw-sewage.fake (adsl-64-108-36-184.dsl.peoril.ameritech.net [64.108.36.184]) by pimout3-ext.prodigy.net (8.13.4 outbound domainkey aix/8.13.4) with ESMTP id j7431iTZ218776; Wed, 3 Aug 2005 23:01:44 -0400 Received: by sewage.raw-sewage.fake (Postfix, from userid 1000) id 37CFB52DED; Wed, 3 Aug 2005 22:02:00 -0500 (CDT) Date: Wed, 3 Aug 2005 22:02:00 -0500 From: Matt Garman To: gentoo-user@lists.gentoo.org Cc: gentoo-user Subject: Re: [gentoo-user] glib-config and gtk-config point to version 1.2? Message-ID: <20050804030200.GA3455@raw-sewage.net> Mail-Followup-To: gentoo-user@lists.gentoo.org, gentoo-user References: <20050804023328.GA3146@raw-sewage.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050804023328.GA3146@raw-sewage.net> User-Agent: Mutt/1.5.8i X-Archives-Salt: efaca06d-259f-48bd-8645-0a08e95980e8 X-Archives-Hash: 4fdf4fd049aaf5701f4d0fa2e73dd846 On Wed, Aug 03, 2005 at 09:33:28PM -0500, Matt Garman wrote: > I just started working on a glib/gtk application. I have glib-2.6.4 > and gtk-2.6.7 installed (plus glib and gtk versions 1.2.something). > > For some reason, whenever I run 'gtk-config --version' (or the glib > the equivalent), it returns version 1.2.something. > > Likewise, if I use the "--libs" and/or "--cflags" options, I get > information pointing to the 1.2 libraries and headers. > > How do I get the config programs to return the 2.6 headers and > libraries? Sorry, stupid question. gtk-config is specifically for the 1.2 version. pkg-config is for the new version: pkg-config --cflags gtk+-2.0 pkg-config --libs gtk+-2.0 Somebody should have RTFM'ed me: http://gtk.org/tutorial/sec-compiling.html Thanks! Matt -- Matt Garman email at: http://raw-sewage.net/index.php?file=email -- gentoo-user@gentoo.org mailing list From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E0W6l-0002gE-6O for garchives@archives.gentoo.org; Thu, 04 Aug 2005 03:09:24 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7437Q2a009704; Thu, 4 Aug 2005 03:07:26 GMT Received: from ylpvm29.prodigy.net (ylpvm29-ext.prodigy.net [207.115.57.60]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j743184P028308 for ; Thu, 4 Aug 2005 03:01:09 GMT Received: from pimout3-ext.prodigy.net (pimout3-int.prodigy.net [207.115.4.218]) by ylpvm29.prodigy.net (8.12.10 outbound/8.12.10) with ESMTP id j7431Ct1013610 for ; Wed, 3 Aug 2005 23:01:12 -0400 X-ORBL: [64.108.36.184] Received: from sewage.raw-sewage.fake (adsl-64-108-36-184.dsl.peoril.ameritech.net [64.108.36.184]) by pimout3-ext.prodigy.net (8.13.4 outbound domainkey aix/8.13.4) with ESMTP id j7431iTZ218776; Wed, 3 Aug 2005 23:01:44 -0400 Received: by sewage.raw-sewage.fake (Postfix, from userid 1000) id 37CFB52DED; Wed, 3 Aug 2005 22:02:00 -0500 (CDT) Date: Wed, 3 Aug 2005 22:02:00 -0500 From: Matt Garman To: gentoo-user@lists.gentoo.org Cc: gentoo-user Subject: Re: [gentoo-user] glib-config and gtk-config point to version 1.2? Message-ID: <20050804030200.GA3455@raw-sewage.net> Mail-Followup-To: gentoo-user@lists.gentoo.org, gentoo-user References: <20050804023328.GA3146@raw-sewage.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050804023328.GA3146@raw-sewage.net> User-Agent: Mutt/1.5.8i X-Archives-Salt: 77fa9ecf-d878-44e4-b00a-a6282b058c8a X-Archives-Hash: f42286dd780d6bdb7cd06c351432cd01 Message-ID: <20050804030200.GjH8ShGYXUT-7z3GWXh0kGOjg4FvyFOyDmAGjpafNSY@z> On Wed, Aug 03, 2005 at 09:33:28PM -0500, Matt Garman wrote: > I just started working on a glib/gtk application. I have glib-2.6.4 > and gtk-2.6.7 installed (plus glib and gtk versions 1.2.something). > > For some reason, whenever I run 'gtk-config --version' (or the glib > the equivalent), it returns version 1.2.something. > > Likewise, if I use the "--libs" and/or "--cflags" options, I get > information pointing to the 1.2 libraries and headers. > > How do I get the config programs to return the 2.6 headers and > libraries? Sorry, stupid question. gtk-config is specifically for the 1.2 version. pkg-config is for the new version: pkg-config --cflags gtk+-2.0 pkg-config --libs gtk+-2.0 Somebody should have RTFM'ed me: http://gtk.org/tutorial/sec-compiling.html Thanks! Matt -- Matt Garman email at: http://raw-sewage.net/index.php?file=email -- gentoo-user@gentoo.org mailing list