Results 1 to 10 of 10
I tried to install a program needing gtk v1.2, and apparently gtk wasn't installed, so I'm trying to install it.
I've downloaded the tar's, gtk+-1.2.9.tar.gz and glib-1.2.9.tar.gz. I installed glib ...
- 07-10-2003 #1Just Joined!
- Join Date
- Jun 2003
- Posts
- 5
Problems installing gtk
I tried to install a program needing gtk v1.2, and apparently gtk wasn't installed, so I'm trying to install it.
I've downloaded the tar's, gtk+-1.2.9.tar.gz and glib-1.2.9.tar.gz. I installed glib first since gtk wouldn't install without it, now glib is installed, I get this error from the ./configure script of gtk and have no idea where to go.
The system is RedHat 9.0 with all patches applied, and running KDE.checking for GLIB - version >= 1.2.8...
*** 'glib-config --version' returned 1.2.9, but GLIB (1.2.10)
*** 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/.
Any and all help appreciated!
P.S. My first post from Linux!
- 07-10-2003 #2Linux User
- Join Date
- Jun 2003
- Location
- Calgary, AB CANADA
- Posts
- 496
Issue the following:
and see if your glib-1.2.9 took effect...Code:rpm -qa glib*
\"Everything should be made as simple as possible, but not simpler.\"
Albert Einstein
- 07-10-2003 #3Linux User
- Join Date
- Nov 2002
- Posts
- 420
Thanks Copper, I get...
So it seems 1.2.9 didn't take effect, but then I did install it from a .tar.gz so would rpm still find it?$ rpm -qa glib*
glib-1.2.10-10
glibc-devel-2.3.2-27.9
glib2-2.2.1-1
glibc-kernheaders-2.4-8.10
glibc-2.3.2-27.9
glibc-common-2.3.2-27.9
....but if glib 1.2.10 was already installed, why did the gtk install complain at the beginning? and how do I uninstall what the glib 1.2.9 tar.gz has done, and perhaps start a fresh. :\ If that's where I should go next?
- 07-10-2003 #4Just Joined!
- Join Date
- Jun 2003
- Posts
- 5
Erm, that's me. ^^ How odd.
- 07-10-2003 #5Linux User
- Join Date
- Jun 2003
- Location
- Calgary, AB CANADA
- Posts
- 496
You must have forgot to sign in there...
Anyway, re-reaqding your original post, it says that it did find 1.2.10 and then makes some suggestions to remedy the problem. Since your glib-config is incorect (states 1.2.9 but find 1.2.10), then I would try the last part:
Let us know what happens and g/l!Code:*** 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
\"Everything should be made as simple as possible, but not simpler.\"
Albert Einstein
- 07-10-2003 #6Just Joined!
- Join Date
- Jun 2003
- Posts
- 5
Okay, sorry, but where would I find / set environment variables?
- 07-10-2003 #7Linux User
- Join Date
- Jun 2003
- Location
- Calgary, AB CANADA
- Posts
- 496
Something like this:
N.B. The semi colon means you're running two commands on one line.Code:GLIB_CONFIG=/usr/bin/glib-config; export GLIB_CONFIG
\"Everything should be made as simple as possible, but not simpler.\"
Albert Einstein
- 07-10-2003 #8Just Joined!
- Join Date
- Jun 2003
- Posts
- 5
Thanks, I did that but it made no difference.
I did echo '$GLIB_CONFIG' to prove it worked, then re-ran the gtk ./configure but it still died with the same error message.
I seem to have 1.2.10 installed (by rpm) and 1.2.9 installed (from tar.gz) thus the conflict.
I tried 'rpm -e glib', but I can't remove the 1.2.10 version due to dependencies it says. So I should try and remove 1.2.9? but I have no idea what files, and where, ./configure, make, make install, put them.
Edit/PS: Although I seem to have 2 versions installed, I only have one glib-config.
..and that's the location I put in the GLIB_CONFIG variable.$ whereis glib-config
glib-config: /usr/local/bin/glib-config
- 07-10-2003 #9Linux User
- Join Date
- Jun 2003
- Location
- Calgary, AB CANADA
- Posts
- 496
Did you try removing the config.cache file before reconfiguring?
And I think you'll have a hard time trying to remove glib because of it's heavy dependencies. Let's try first to get your glib version correctly recognized...\"Everything should be made as simple as possible, but not simpler.\"
Albert Einstein
- 07-10-2003 #10Just Joined!
- Join Date
- Jun 2003
- Posts
- 5
Okay.
Yeah I did a search for config.cache and never found it.
[Edit] I've managed to uninstall 1.2.9, and am back at square one. I have to go out, but will tackle it again when I get back.


Reply With Quote
