Find the answer to your Linux question:
Results 1 to 2 of 2
Hello I still trying to install gtk+. Now, when I run ./configure for atk 1.22.0 it says need glib 2.16. I make and installed it (glib 2.16.3) but atk still ...
  1. #1
    Just Joined!
    Join Date
    May 2008
    Posts
    6

    Unhappy atk cannot find correct glib

    Hello
    I still trying to install gtk+.
    Now, when I run ./configure for atk 1.22.0 it says need glib 2.16. I make and installed it (glib 2.16.3) but atk still says need glib 2.
    Code:
    checking for GLIB - version >= 2.5.7... 
    *** 'pkg-config --modversion glib-2.0' returned 2.16.3, but GLIB (2.12.11)
    *** 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
    checking for pkg-config... (cached) /usr/bin/pkg-config
    checking pkg-config is at least version 0.16... yes
    checking for GLIB - version >= 2.0.0... 
    *** 'pkg-config --modversion glib-2.0' returned 2.16.3, but GLIB (2.12.11)
    *** 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.0.0 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.
    How can I solve this problem
    Is there any easier way to install gtk+?

    thanks a lot

  2. #2
    Just Joined!
    Join Date
    Apr 2008
    Posts
    35
    Check

    rpm -qa|grep glib

    The error seems to indicate that you may have more than one version installed on your system. Just a thought. Hope it helps

    ,Mike

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...