LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problems installing glib (https://www.linuxquestions.org/questions/linux-newbie-8/problems-installing-glib-111407/)

cheema 11-02-2003 05:44 AM

problems installing glib
 
I've Redhat 9.0 installed on my system but I didn't initially install gnome. while installing gaim-0.71 I got the following error message.

checking for GLIB - version >= 2.0.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
configure: error:
*** GLib 2.0 is required to build Gaim; please make sure you have the GLib
*** development headers installed. The latest version of GLib is
*** always available at http()//www()gtk()org/.

So I downloaded latest glib from gtk-org and tried installing it. I got no error while installing glib. But the I keep on getting the above error while installing gaim even after that. I also tried to install GTK, ATK and PANGO from gtk.org but they all give the same above error of not finding glib.

I also get the following error while installing gaim from rpm package.
error: Failed dependencies:
gtk+2.0 >= 2.0.0 is needed by gaim-0.71-1mdk9.1
libnss3 is needed by gaim-0.71-1mdk9.1
libaspell.so.15 is needed by gaim-0.71-1mdk9.1
libgtkspell.so.0 is needed by gaim-0.71-1mdk9.1
libpspell.so.15 is needed by gaim-0.71-1mdk9.1
perl-base >= 2:5.8.0 is needed by gaim-0.71-1mdk9.1

Can somebody help? Should I first delete the files relating to glib from my system?
Thnx in advance

blendmaster 03-30-2004 08:19 PM

Why are you installing a Mandrake RPM package for a RedHat system?

ernesto_lelo 04-13-2004 09:46 PM

is that a problem?
I have the same error
where can we get the RPM (or any other type of file) for Red Hat?

Demonbane 04-13-2004 09:55 PM

If you install RPMs compiled for other distros you're just making yourself closer to dependency hell.
for Gaim they do provided rpms for Redhat 9
http://gaim.sourceforge.net/downloads.php

there's couple of good websites for searching RPMs, here's one I remember from top of my head
http://www.rpmseek.com

ernesto_lelo 04-14-2004 03:14 PM

try this, it worked for me

edit the .bashrc (vi .bashrc)
insert the following lines:

export LD_LIBRARY_PATH=/usr/local/lib
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/usr/X11R6/lib/pkgconfig

save the changes.

Try to install again.

Borje 04-24-2004 06:13 AM

I had the same problem while trying to install GTK on a debian system. I solved it copying the .pc files in /usr/local/lib/pkgconfig/ to /usr/lib/pkgconfig I never got the PKG_CONFIG_PATH variable to work. But after doing this I encoutered another problem while doing ./configure on another of the dependencies for GTK (ATK) and the error message looks like the following:

*** 'pkg-config --modversion glib-2.0' returned 2.4.0, but GLIB (2.2.3)
*** 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.

Now I have only installed 2.4.0 on my set, nothing else. A "find / -name glib-2.0.pc" only returns the files that has to do with 2.4.0 so how can I have 2.2.3 installed? How do I get past this?


All times are GMT -5. The time now is 06:07 PM.