Hi, group,
Recently I tried to build latest wxPython on new upgraded Redhat 9, but I got these error at configure step:
$./configure --prefix=$HOME --with-gtk --enable-geometry
checking for GTK+ version...
checking for gtk-config... no
checking for GTK - version >= 1.2.7... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
checking for gtk-config... (cached) no
checking for GTK - version >= 1.2.3... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
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.
I think GTK 1.2 and GTK 2 are part of RH9 already, but I didn't find "gtk-config" at "/usr/bin". I also tried adding "--disable-gtktest", but didn't change anything.
I built wxPython without any problem on Redhat 7.1 before upgrade using the same way.
Could anybody give me a help here? Thanks a lot.
Chunlei