Sorry, I didn't realize that you built your own glib. You said "install" in your original email, so I figured you used distribution packages. What distribution are you using? Most have the development files that are required to build with it split out into a separate package. On Fri, Aug 24, 2012 at 2:57 PM, ajinkya jayawant <ajinkyajayawant@xxxxxxxxx> wrote: > @Jasper.why is it needed?because it is neither stated in > http://developer.gnome.org/gtk3/stable/gtk-building.html or in > http://www.linuxfromscratch.org/blfs/view/cvs/general/glib2.html . it might > be installed in system folders , so i will have to find it and provide some > path for it. > > > On Fri, Aug 24, 2012 at 11:56 PM, ajinkya jayawant > <ajinkyajayawant@xxxxxxxxx> wrote: >> >> not able to send config.log file since it is too big. >> >> On Fri, Aug 24, 2012 at 11:47 PM, ajinkya jayawant >> <ajinkyajayawant@xxxxxxxxx> wrote: >>> >>> i am trying to install gtk+ on Ubuntu 11.04.i have followed instructions >>> from "library.gnome.org/devel/gtk3/stable/gtk-building.html".i have >>> installed packages glib (2.32.4),pango(1.30.1), cairo(libcairo2-dev). >>> >>> i have done >>> >>> CPPFLAGS="-I/home/jink/gtkin/include" >>> >>> LDFLAGS="-L/home/jink/gtkin/lib" >>> >>> PKG_CONFIG_PATH="/home/jink/gtkin/lib/pkgconfig" >>> >>> export CPPFLAGS LDFLAGS PKG_CONFIG_PATH >>> >>> LD_LIBRARY_PATH="/home/jink/gtkin/lib" >>> >>> PATH="/home/jink/gtkin/bin:$PATH" >>> >>> export LD_LIBRARY_PATH PATH >>> >>> I am now tring to install atk >>> >>> But when i do ./configure --prefix=/home/jink/gtkin in terminal after >>> doing cd to proper folder i get the following error. >>> >>> checking for GLIB - version >= 2.31.2... >>> >>> *** 'pkg-config --modversion glib-2.0' returned 2.32.0, but GLIB (2.32.4) >>> >>> *** was found! If pkg-config was correct, then it is best >>> >>> *** to remove the old version of GLib. You may also be able to fix the >>> error >>> >>> *** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing >>> >>> *** /etc/ld.so.conf. Make sure you have run ldconfig if that is >>> >>> *** required on your system. >>> >>> *** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH >>> >>> *** to point to the correct configuration files >>> >>> no >>> >>> configure: error: >>> >>> *** GLIB 2.31.2 or better is required. The latest version of >>> >>> *** GLIB is always available from ftp://ftp.gtk.org/. If GLIB is >>> installed >>> >>> *** but not in the same location as pkg-config add the location of the >>> file >>> >>> *** glib-2.0.pc to the environment variable PKG_CONFIG_PATH. >>> >>> i have tried doing >>> >>> LD_LIBRARY_PATH=/usr/local >>> >>> export LD_LIBRARY_PATH >>> >>> ./configure --prefix=/home/jink/gtkin PKG_CONFIG_PATH="/home/jink/gtkin" >>> >>> ./configure --prefix=/home/jink/gtkin PKG_CONFIG_PATH=/usr/lib >>> >>> i have tried installling and uninstalling glib twice or thrice and >>> installing another version.but i am getting the same error.i am not able to >>> understand what to do now,please help. >>> >>> i dont know whether attachments get sent in this mailing list or not so i >>> am sending config.log file as another mail. >>> >>> >> > > > _______________________________________________ > gtk-list mailing list > gtk-list@xxxxxxxxx > https://mail.gnome.org/mailman/listinfo/gtk-list > -- Jasper _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx https://mail.gnome.org/mailman/listinfo/gtk-list