Actually I wants install GTK+ , I am trying to do this exercise last few days but it has lot of dependencies. I am installing one by one but i stuck up just like infinite loop. now i stuck up in Cairo it gives following error & warning
Yup, gtk has a lot of dependencies. If you want to compile it along with its dependencies from sources, set PKG_CONFIG_PATH and LD_LIBRARY_PATH env. variables to the directory you are installing those dependencies. For example I like to install stuff in the default /usr/local, so I'm using:
Also since dependencies (glib2, atk, pango etc) install their headers under subdirectories in /usr/local/include, I'm also define CPPFLAGS:
CPPFLAGS="-I/usr/local/inclde/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/gtk-2.0"
And last but not least the order to compile gtk/dependencies, is: glib2, cairo, cairomm, pango, atk, jasper, gtk