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.10/gtk+-2.10.11.tar.bz2
Download (FTP): ftp://ftp.gtk.org/pub/gtk/v2.10/gtk+-2.10.11.tar.bz2
Download MD5 sum: 3b32eab43bf5195d981867d25ba55d66
Download size: 15.0 MB
Estimated disk space required: 239 MB (includes building the experimental backends)
Estimated build time: 3.0 SBU (includes building the experimental backends)
cairo-1.4.2, Pango-1.16.1, and ATK-1.18.0
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.
CUPS-1.2.7, GTK-Doc-1.8, 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.10.11/{faq,tutorial} &&
cp -v -R docs/faq/html/* /usr/share/doc/gtk+-2.10.11/faq &&
cp -v -R docs/tutorial/html/* /usr/share/doc/gtk+-2.10.11/tutorial &&
install -v -m644 docs/*.txt /usr/share/doc/gtk+-2.10.11
--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 2007-04-04 21:42:53 +0200