The GTK+ package contains GTK+ libraries. These are useful for creating graphical user interfaces for applications.
Download (HTTP): http://ftp.gnome.org/pub/gnome/sources/gtk+/2.8/gtk+-2.8.20.tar.bz2
Download (FTP): ftp://ftp.gtk.org/pub/gtk/v2.8/gtk+-2.8.20.tar.bz2
Download MD5 sum: 74e7ca98194f1fadfe906e66d763d05d
Download size: 12.2 MB
Estimated disk space required: 198 MB
Estimated build time: 2.6 SBU
cairo-1.2.4, Pango-1.12.3, and ATK-1.11.4
Though not required, the GTK developers expect libtiff and libjpeg to be installed. Other packages also expect GTK+-2 to be built with support for these graphics packages as well.
GTK-Doc-1.6 and DocBook-utils-0.6.14
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/gtk+2
Install GTK+ by running the following commands:
./configure --prefix=/usr --sysconfdir=/etc && make
To test the results, issue: make check. Note that you must run the tests from a session with X Window Display capability (i.e., not a text-based terminal/console) as the tests attempt to open an X window.
Now, as the root user:
make install && install -v -m755 -d /usr/share/doc/gtk+-2.8.20/{faq,tutorial} && cp -v -R docs/faq/html/* /usr/share/doc/gtk+-2.8.20/faq && cp -v -R docs/tutorial/html/* /usr/share/doc/gtk+-2.8.20/tutorial
--sysconfdir=/etc: This switch installs the configuration files into /etc instead of /usr/etc.
--enable-gtk-doc: This switch will rebuild the API documentation during the make command. Ensure you really want to rebuild this documentation (and end up with what is already shipped in the source tree) as it takes a very long time.
--without-libtiff: Use this switch if you don't have libtiff installed.
--without-libjpeg: Use this switch if you don't have libjpeg installed.
Last updated on 2006-10-22 16:20:11 -0500