Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
checking for GTK+ version...
checking for pkg-config... no
checking for GTK+ - version >= 2.0.0... no
*** A new enough version of pkg-config was not found.
*** See http://pkgconfig.sourceforge.net
configure: error:
Please check that gtk-config is in path, the directory
where GTK+ libraries are installed (returned by
'gtk-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and GTK+ is version 1.2.3 or above.
when I issue the command gtk-config --version I get 1.2.10. Isn't that newer than 1.2.3?
checking for GTK+ version...
checking for pkg-config... no
checking for GTK+ - version >= 2.0.0... no
*** A new enough version of pkg-config was not found.
*** See http://pkgconfig.sourceforge.net
configure: error:
Please check that gtk-config is in path, the directory
where GTK+ libraries are installed (returned by
'gtk-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and GTK+ is version 1.2.3 or above.
when I issue the command gtk-config --version I get 1.2.10. Isn't that newer than 1.2.3?
thanks,
~S
I had the same problem. Try "apt-get install libgtk2.0-dev". Yoy get development libraries for GTK2.
[edit]
Yoy maybe need libwxgtk2.5.3 too.
[edit2]
I have following packages installed:
dpkg -l | grep wx wrote:
ii libwxbase2.4 2.4.2.6 wxBase library (runtime) - non-GUI support c
ii libwxgtk2.4 2.4.2.6 wxWindows Cross-platform C++ GUI toolkit (GT
ii libwxgtk2.4-py 2.4.2.6 wxWindows Cross-platform C++ GUI toolkit (wx
ii libwxgtk2.5.3 2.5.3.2 wxWidgets Cross-platform C++ GUI toolkit (GT
ii wx2.5-common 2.5.3.2 wxWidgets Cross-platform C++ GUI toolkit (co
ii wxwin2.4-heade 2.4.2.6 wxWindows Cross-platform C++ GUI toolkit (he
Ever since 2.5.3 it default to gtk+-2.x.
Before that you had to do --enable-gtk2 to get it to work with gtk2, not gtk1. Now you have to do --disable-gtk2 to get it to be using gtk1.
I highly suggest using gtk2, even under 2.5.3, just requires a --enable-gtk2 then.
gtk-config is for gtk1, these days packages use pkg-config.
For example you can find out your gtk2 version with
Seems you don't have a new enough pkg-config, and I suspect you don't have the dev packages of gtk+-2.x either so that you could build wxGTK yourself and not get it from the package of your distribution.
Compilers: gcc-3.3.6, gcc-3.4.5, gcc-4.0.2, gcc-4.1.0 and MSVC6
OS's: Gentoo Linux, WinXP; WX: CVS HEAD