Installing GTK+


Results 1 to 9 of 9

Thread: Installing GTK+

  1. #1
    Mikenell Guest

    Installing GTK+

    When I try to install GTK+ I get this error message:

    checking for GLIB - version >= 1.2.8...
    *** 'glib-config --version' returned 1.2.8, but GLIB (1.2.7)
    *** was found! If glib-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 glib-config was wrong, set the environment variable GLIB_CONFIG
    *** to point to the correct copy of glib-config, and remove the file config.cache
    *** before re-running configure
    no
    configure: error:
    *** GLIB 1.2.8 or better is required. The latest version of GLIB
    *** is always available from ftp://ftp.gtk.org/.

    I definitly got the latest version of glib from gtk.org and it installed with no errors. It says I could try editing ld.so.conf so I tried and all it had in was this:

    /usr/X11R6/lib/Xaw3d
    /usr/X11R6/lib

    Have I somehow installed glib in the wrong place? I used the default settings and just did ./configure, make, make install. Where will it have installed to? And also where is the LD_LIBRARY_PATH variable?
    Is there anything else I can do to try to get it working?
    Thanks
    Mikenell

  2. #2
    Mikenell Guest
    Anyone? I wanna start playing with GTK+, is there a way I can apt-get the GTK stuff?
    Mikenell

  3. #3
    Strike Guest
    Originally posted by Mikenell:
    Anyone? I wanna start playing with GTK+, is there a way I can apt-get the GTK stuff?
    Mikenell
    Have you even tried? Check the package listing on Debian's site, I'd wager it's there.

  4. #4
    PLBlaze Guest
    I definitly got the latest version of glib from gtk.org and it installed with no errors. It says I could try editing ld.so.conf so I tried and all it had in was this:

    /usr/X11R6/lib/Xaw3d
    /usr/X11R6/lib
    Simply add the path to your libraries and rerun ldconfig or ldconfig -v and your problem should be fixed...while you're there
    add some more paths for future use...

    example:

    /usr/lib
    /usr/local/lib

    [This message has been edited by PLBlaze (edited 15 October 2000).]

  5. #5
    Mikenell Guest
    Yeah I tried but it didnt work. So I just add the path of qt/lib to ld.so.conf and then rerun the program?
    Thanks
    Mikenell

  6. #6
    Mikenell Guest
    What does the -v argument do?
    Mikenell

  7. #7
    Strike Guest
    Mikenell, you should know better. man ldconfig tells you:
    -v Verbose mode. Print current version number, the
    name of each directory as it is scanned and any
    links that are created.

  8. #8
    Mikenell Guest
    I reinstalled Debian so I didnt think that program would be installed because I havent downloaded and compiled qt again or I would have.
    Mikenell

  9. #9
    Stuka Guest
    Finally! I was having the same troubles as Mikenell, and had even posted a similar topic (but I think it was in the software forum), and now I finally am getting GTK+ to make (doing it in the terminal right now!). Had the same problem trying to get Qt installed also - and since I prefer C++, I can really play now! WOOHOO!

Posting Permissions

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