redhat gtk+ 2.4.0 install problem
- From: Peter Pan <fossilet 163 com>
- To: gtk-list gnome org
- Subject: redhat gtk+ 2.4.0 install problem
- Date: Sat, 27 Mar 2004 13:02:38 +0800
Hi all,
I want to have the thrilling Gimp 2, so i installed
the following packages(in the order)
pkgconfig-0.15.0
glib-2.4.0
fontconfig-2.2.92
libart_lgpl-2.3.16
freetype-2.1.7
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 www.gtk.org, I still have to install pango-1.4.0,
atk-1.6.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
path.
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/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.4.0 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.
Possibly the follwing should be done:
1.add the directory containing `xft.pc' to the PKG_CONFIG_PATH environment
variable
2.remove the old version of GLib
3.modifying your LD_LIBRARY_PATH enviroment variable or editing
/etc/ld.so.conf
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]