Ok so now I am trying to install a program(s) that require GLib-2.2.0 >= and GTK
+-2.2.0 >=. I have the following:
- glib-2.4.0
- gtk+-2.4.0
- pango-1.4.0
- atk-1.6.0
Now I successfully installed glib-2.4.0 without any errors or warnings of (./con
figure -> make -> make install). Next I figured I'd install GTK+-2.4.0 same as a
bove (./configure -> ) but it configure gave the following errors:
Code:
checking for pkg-config... /usr/bin/pkg-config
checking for glib-2.0 >= 2.4.0 atk >= 1.0.1 pango >= 1.4.0... Package glib
-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
configure: error: Library requirements (glib-2.0 >= 2.4.0 atk >= 1.0.1 pan
go >= 1.4.0) not met; consider adjusting the PKG_CONFIG_PATH environment variabl
e if your libraries are in a nonstandard prefix so pkg-config can find them.
[root( at )localhost gtk+-2.4.0]#
The ATK and Pango errors are fine since I haven't installed them yet (didnt know
bout them until it complained). The problem is the error regarding not being ab
le to find glib. So off to trying to install ATK (./configure -> ) It gave the f
ollowing error:
Code:
checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.0.0... 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.
[root( at )localhost atk-1.6.0]#
Same glib error, so now off to try pango (./configure -> ) and same error:
Code:
checking for pkg-config... (cached) /usr/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/.
[root( at )localhost pango-1.4.0]#
So now why arent they seeing the installation of glib, secondly what/where is
this environment variable PKG_CONFIG_PATH found.
Now glib-1.2.10 installed its *.pc files to /usr/lib/pkgconfig where glib-2.4.0
installed its *.pc files to /usr/local/lib/pkgconfig. So heck I decided to copy
glib-2.4.0's *.pc files to /usr/lib/pkgconfig and see what would happen...
Code:
checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.0.0...
*** 'pkg-config --modversion glib-2.0' returned 2.4.0, but GLIB (2.2.1)
*** 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.
[root( at )localhost atk-1.6.0]#
So now what...HELP! Oh I am running Redhat 9.0, Kernel: Linux 2.4.20-8smp. Um 2.
6.0 is in the download. Not sure what else would be usefull. All of the above wa
s run as root.