LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   GAIM and GTK Problem - Please Help (https://www.linuxquestions.org/questions/linux-newbie-8/gaim-and-gtk-problem-please-help-174874/)

Memzback 04-26-2004 06:37 PM

GAIM and GTK Problem - Please Help
 
Hi,

Im trying to install Gaim-0.77 on a SuSE 9.0 Fresh Install.

When i run ./configure from the Gaim Folder i get the following error:

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

I downloaded the following files:

atk-1.6.0 gtk+-2.4.0 pango-1.4.0
glib-2.4.0 gtkspell-2.0.5 pkgconfig-0.15.0

I installed pkgconfig with no problems.

ATK - Returns the same problem as Gaim.

Glib - Installs fine.

GTK - Returns the following:

lib-2.0 >= 2.4.0' but version of GLib is 2.2.3

configure: error: Library requirements (glib-2.0 >= 2.4.0 atk >= 1.0.1 pango >= 1.4.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

gtk-spell - Returns the following:

checking for gtk+-2.0... Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found

configure: error: Library requirements (gtk+-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

Pango - Returns the following:

*** 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.4.0 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.
linux:~/gtkshit/pango-1.4.0 # you should add the directory containing `fontconfig.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'fontconfig' found
> configure: WARNING: No fontconfig found, skipping tests for FreeType and Xft
> checking for pkg-config... (cached) /usr/local/bin/pkg-config
> checking for GLIB - version >= 2.4.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.4.0 or better is required. The latest version of
> *** Glib is always available from ftp://ftp.gtk.org/.


Pkg-Config - Installs fine.

"Pkg-config --modversion glib-2.0" returns 2.2.3

Please Tell me What im doing wrong.

Thanks in advance

SciYro 04-26-2004 08:21 PM

ok, this looks like it might be the same stupid error i had when using gtk

gtk/glib are very picky, if you install more then 1 then it will be messed up and unusable, thats why configure keeps going all weird -- it usually happens if you install the packages over a previous one.

so the answer is to uninstall gtk/pango/atk/glib (just to be safe), and you also have to remove them by hand
the files needed to be removed are in the /bin and /lib directories, once you removed every one of those packages by hand then you can install them again and it should work (note: using make install wont work, you have to delete the libs one by one)

Memzback 04-26-2004 08:38 PM

Thanks alot for your reply - I really appreciate it -

I looked through /bin/ and /lib/ and i couldnt find anythin to do with gtk,glib,atk,pango

Memzback 04-27-2004 09:58 AM

Is there any way in linux to :

1) See exactly what software you have installed, not just packages but the stuff you compiled from source.

2) Uninstall it, easily??

Thanks


All times are GMT -5. The time now is 09:11 AM.