Find the answer to your Linux question:
Results 1 to 6 of 6
Hi I am trying to install GTK+2.8. for that i have installed GTK+2.8 package from site. I have installed Glib2.8.6 and pango 1.10.4 properly/ Bur when I run configure command ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2007
    Posts
    46

    problem with installing GTK+


    Hi I am trying to install GTK+2.8. for that i have installed GTK+2.8 package from site.
    I have installed Glib2.8.6 and pango 1.10.4 properly/
    Bur when I run configure command for atk1.10.3 library.. I am getting this error

    *** 'pkg-config --modversion glib-2.0' returned 2.8.6, but GLIB (2.2.1)
    *** 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) /opt/gtk/bin/pkg-config
    checking for GLIB - version >= 2.0.0...
    *** 'pkg-config --modversion glib-2.0' returned 2.8.6, but GLIB (2.2.1)
    *** 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.
    [root@vineeta atk-1.10.3]# PKG_CONFIG_PATH="/opt/gtk/lib/pkgconfig"
    [root@vineeta atk-1.10.3]# su cineeta
    su: user cineeta does not exist
    [root@vineeta atk-1.10.3]# su vineeta
    [vineeta@vineeta atk-1.10.3]$

    how to resolve this problem???

    vineeta7

  2. #2
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    And you ran ldconfig as suggested?
    Linux Mint + IceWM Registered: #371367 New Members: click here

  3. #3
    Just Joined!
    Join Date
    Sep 2007
    Posts
    46

    problem with installing GTK+

    hi

    I havent run that ldconfig.where it is located?

  4. #4
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    From the command line as su, run:
    Code:
    /sbin/ldconfig
    or,
    Code:
    ldconfig
    ...whichever works and press enter. Not saying this is your problem, but as the errors suggest, it would be the first thing I'd do...
    Linux Mint + IceWM Registered: #371367 New Members: click here

  5. #5
    Just Joined!
    Join Date
    Sep 2007
    Posts
    46
    still getting same error

  6. #6
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    Which distro are you using and why do you need gtk+2.8?
    Linux Mint + IceWM Registered: #371367 New Members: click here

Posting Permissions

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