redhat gtk+ 2.4.0 install problem

Hi all,

I want to have the thrilling Gimp 2, so i installed
the following packages(in the order)
They are all installed using the default options(./configure, make, make
install), except that glib-2.4.0 using
 % ./configure                             # run the `configure' script
 % make                                    # build GLIB
 [ Become root if necessary ]
 % rm -rf /install-prefix/include/glib.h /install-prefix/include/gmodule.h
 % make install                            # install GLIB

and then /sbin/./ldconfig

According to docs on, I still have to install pango-1.4.0,
and gtk+-2.4.0.

But i failed to config my pango. Below are the last lines of the message:

checking for xft >= 2.0.0... Package xft was not found in the pkg-config search
Perhaps you should add the directory containing `xft.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xft' found
checking for pkg-config... (cached) /usr/local/bin/pkg-config
checking for GLIB - version >= 2.4.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/ 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
configure: error:
*** Glib 2.4.0 or better is required. The latest version of
*** Glib is always available from

Possibly the follwing should be done:
1.add the directory containing `xft.pc' to the PKG_CONFIG_PATH environment
2.remove the old version of GLib
3.modifying your LD_LIBRARY_PATH enviroment variable or editing

Can you tell me how can i fix the configure error? Thanks very much.

Peter Pan

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]