Problems installing gtk

This is a discussion on Problems installing gtk within the Linux Programming forums, part of the Platform Specific Boards category; Code: *** 'pkg-config --modversion glib-2.0' returned 2.12.12, but GLIB (2.12.11) *** was found! If pkg-config was correct, then it is ...

  1. #1
    Registered User
    Join Date
    Sep 2006
    Posts
    70

    Problems installing gtk

    Code:
    *** 'pkg-config --modversion glib-2.0' returned 2.12.12, 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.
    i dont understand the pkg thing , how do you do that?

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    It's telling you that some system info is screwed up. pkg-config just reads information files. The information files say that the most recent glib version you have is 2.12.12. GTK does its own checking, though, and found version 2.12.11, so it complains.

    You should check your installation of glib.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  3. #3
    Registered User
    Join Date
    Sep 2006
    Posts
    70
    i installed 2.12.12

  4. #4
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,252
    Quote Originally Posted by hallo007 View Post
    i installed 2.12.12
    Then the GTK config isn't finding it for some reason. Did you install it in some non-standard location? There should be a switch for the configure script to force it to look in a specific directory for the GLIB installation. Try using that.

  5. #5
    Registered User
    Join Date
    Sep 2006
    Posts
    70
    now i am getting erros with gettext , i installed it manualy , i installed with sudo , but it stays returning this error:

    Instellen van gettext (0.16.1-1ubuntu2) ...
    install-info: onbekende optie `--description='
    Probeer `install-info --help' voor een volledige lijst van opties.
    dpkg: fout bij afhandelen van gettext (--configure):
    subproces post-installation script gaf een foutwaarde 1 terug
    Fouten gevonden tijdens behandelen van:
    gettext
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    translation

    Instellen van gettext (0.16.1-1ubuntu2) ...
    install-info: unknow option `--description='
    Try`install-info --help' for all options.
    dpkg: fault while finishing gettext (--configure):
    su
    Faults while installing:
    gettext
    E: Sub-process /usr/bin/dpkg returned an error code (1)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problems installing GLUT in .NET 2003
    By Kaminaga in forum Game Programming
    Replies: 4
    Last Post: 08-18-2005, 05:33 PM
  2. problems installing graphics card
    By *ClownPimp* in forum Tech Board
    Replies: 6
    Last Post: 08-06-2004, 08:11 AM
  3. Problems installing GTKmm
    By LiKWiD in forum C++ Programming
    Replies: 6
    Last Post: 03-29-2004, 10:31 PM
  4. GTK problems
    By ZakkWylde969 in forum Tech Board
    Replies: 0
    Last Post: 12-29-2003, 09:49 PM
  5. Installing XP....Problems
    By MethodMan in forum Tech Board
    Replies: 14
    Last Post: 11-01-2002, 02:01 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21