Re: Having problems installing ATK, getting configure error regarding glib



@patrick.line says Version: 2.32.4.no there are no other files similar to glib-2.0.pc.but i am sure there is another version installed somewhere in system folders.but it shouldnt make a difference as long as i am giving library and pkg-config paths.

On Fri, Aug 24, 2012 at 11:56 PM, ajinkya jayawant <ajinkyajayawant gmail com> 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 gmail com> 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.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]