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@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to