Build/install GTK-2 on RH-7.X
Introduction
The RedHat Linux 7.X systems don't include the GTK-2 toolset libraries. However there is a simple way to install this toolset libraries on RH-7.X without the need to make large software update.
For convenience usage of this info the sequences of build/install works will be shown separately for the RedHat-7.0 (XFree86-4.0.x) and the RedHat-7.2 (XFree86-4.1.x) systems.
Disclamer
This info and software provided "AS IS" without warranty of any kind. So use it's all for Your own risk.
Idea
The GTK-2 toolset library requires presence of new font rendering libraries in the XFree86 window system. That libraries are absent in the RedHat-7.X distributions. Of course, it is possible to make complete update to more recent version of the XFree86 window system. However, in some cases it can look as not so good decision. There is a simple way, that can be used as solution. We can just update the font libraries and don't touch another parts of already installed XFree86 system. As result this make possible to build/install the GTK-2 toolset libraries.
To install GTK-2 on Your RH-7.X system You can use ready to use RPM-packages, or You can rebuild them from appropriate source SRPM-packages.
RedHat-7.0 (XFree86-4.0.x)
First, before update the font rendering libraries on the RedHat-7.0, there is the need to update some tools libraries:
- Ready to use RPM-packages:
- Source SRPM-packages:
After that we can build/install new font rendering libraries. Note: to install this RPM-packages we need to use the '--force' command line option:
rpm -ivh --force ...The list of packages is:
- Ready to use RPM-packages:
- Source SRPM-packages:
Now, we can update libraries that are working with font (on one's own build the order of build is that: first build must be done for freetype, and the last for the Xft):
- Ready to use RPM-packages:
- Source SRPM-packages:
Now, there is the need to update some libraries that are required by GTK-2:
- Ready to use RPM-packages:
- Source SRPM-packages:
To finish this process it is possible now to build/install GTK-2 itself (on one's own build the order of build is that: first build must be done for glib2, and the last for the gtk2):
- Ready to use RPM-packages:
- Source SRPM-packages:
RedHat-7.2 (XFree86-4.1.x)
First, there is a need to build/install new font rendering libraries. Note: to install this RPM-packages we need to use the '--force' command line option:
rpm -ivh --force ...The list of packages is:
- Ready to use RPM-packages:
- Source SRPM-packages:
Now, we can update libraries that are working with font (on one's own build the order of build is that: first build must be done for freetype, and the last for the Xft):
- Ready to use RPM-packages:
- Source SRPM-packages:
Now, there is the need to update some libraries that are required by GTK-2:
- Ready to use RPM-packages:
- Source SRPM-packages:
To finish this process it is possible now to build/install GTK-2 itself (on one's own build the order of build is that: first build must be done for glib2, and the last for the gtk2):
- Ready to use RPM-packages:
- Source SRPM-packages:
(C) O.Havva