Click to See Complete Forum and Search --> : Installing GTK+


Mikenell
10-14-2000, 03:32 PM
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

Mikenell
10-15-2000, 07:15 PM
Anyone? I wanna start playing with GTK+, is there a way I can apt-get the GTK stuff?
Mikenell

Strike
10-15-2000, 07:53 PM
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.

PLBlaze
10-15-2000, 10:34 PM
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).]

Mikenell
10-16-2000, 08:08 AM
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

Mikenell
10-16-2000, 02:00 PM
What does the -v argument do?
Mikenell

Strike
10-16-2000, 03:32 PM
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.

Mikenell
10-16-2000, 03:46 PM
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

Stuka
10-21-2000, 12:32 AM
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!