can't compile

I’m new to Suse and am having problems compiling packages from source. I’m using the 11.1. Here’s an example where I’m attempting to compile the gentoo file manager.

*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: Bad GTK+ version *

This is the result from ./configure of gftp

checking for GTK… no
configure: error: You have GLIB 2.0 installed but I cannot find GTK+ 2.0. Run configure with --disable-gtk20 or install GTK+ 2.0

Do I need a different gtk version? I have gtk2.

Thanks for any help

Richard

Have a look at the read me for the file manager and see what it depends on and make sure you have the devel package for each installed.
In the case of your current error you would want to install gtk-devel.

Thanks! That solved it for both. I guess I thought I already had gtk-devel.