On Dec 27, 2012, at 10:41 PM, Simon K <k_simon78@xxxxxxxxx> wrote:
> # /usr/bin/pkg-config --cflags-only-I gtk+-2.0
> -I/opt/gtk2.6/include/gtk-2.0 -I/opt/gtk2.6/lib/gtk-2.0/include -I/opt/gtk2.6/include/atk-1.0 -I/opt/gtk2.6/include/pango-1.0 -I/opt/gtk2.6/include -I/opt/gtk2.6/include/freetype2 -I/opt/gtk2.6/include/glib-2.0 -I/opt/gtk2.6/lib/glib-2.0/include
OK, then the compiler should, even when run from the configure script, be looking under /opt/gtk2.6/include for the GTK+ header files.
In order to figure out why that's not happening, I'll need to see exactly what config.log is saying; just send the stuff in config.log about the compile that failed, *including* the test program and the actual compiler command, so we can see what -I flags were being passed to the compiler, as well as the error message from the compiler.