public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] glib-config and gtk-config point to version 1.2?
@ 2005-08-04  2:33 Matt Garman
  2005-08-04  3:02 ` Matt Garman
  0 siblings, 1 reply; 3+ messages in thread
From: Matt Garman @ 2005-08-04  2:33 UTC (permalink / raw
  To: gentoo-user


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?

Thanks,
Matt

-- 
Matt Garman
email at: http://raw-sewage.net/index.php?file=email
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] glib-config and gtk-config point to version 1.2?
  2005-08-04  2:33 [gentoo-user] glib-config and gtk-config point to version 1.2? Matt Garman
@ 2005-08-04  3:02 ` Matt Garman
  2005-08-04  3:02   ` Matt Garman
  0 siblings, 1 reply; 3+ messages in thread
From: Matt Garman @ 2005-08-04  3:02 UTC (permalink / raw
  To: gentoo-user; +Cc: gentoo-user

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] glib-config and gtk-config point to version 1.2?
  2005-08-04  3:02 ` Matt Garman
@ 2005-08-04  3:02   ` Matt Garman
  0 siblings, 0 replies; 3+ messages in thread
From: Matt Garman @ 2005-08-04  3:02 UTC (permalink / raw
  To: gentoo-user; +Cc: gentoo-user

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-08-04  3:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-04  2:33 [gentoo-user] glib-config and gtk-config point to version 1.2? Matt Garman
2005-08-04  3:02 ` Matt Garman
2005-08-04  3:02   ` Matt Garman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox