Re: How can I find out what is the gtk development version?



On Thu, Apr 10, 2008 at 11:28 AM, Tomas Carnecky <tom dbservice com> wrote:
ying lcs wrote:

On Thu, Apr 10, 2008 at 11:12 AM, Kevin DeKorte <kdekorte gmail com>
wrote:

-----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1


 ying lcs wrote:
 | Hi,
 |
 | How can I find out what is the gtk development version that I am
using
 on linux?


 ~ pkg-config --modversion gtk+-2.0


 Should give you the version

 Kevin



Thanks you. I just did it, but I get:

# pkg-config --modversion gtk+2.0
Package gtk+2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+2.0' found

But I am running gnome, so I must have gtk+.

Is that a setting issue?



 err.. try this:


 pkg-config --modversion gtk+-2.0

 (it's $package-$version and the package is 'gtk+' and version '2.0', hence
you get 'gtk+-2.0', the '+-' can be a bit confusing)

 tom

Thank you. I got it.

2.4.13.



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