432 CHAPTER 29 INSTALLING SOFTWARE First, you (Yahoo web hosting)

432 CHAPTER 29 INSTALLING SOFTWARE First, you see that Dillo needs the glib libraries. This is a given on nearly all Linux systems, but in order to compile, Dillo will need the devel version of glib, which isn t part of the default Ubuntu installation. Next, you read that it also needs the GTK+ 1.2 libraries. These are present on the majority of GNOME-based Linux desktop systems but, once again, the devel versions will need to be installed. Beneath that in Dillo s list of requirements is support for JPEG and PNG image formats, which are definitely installed on the average Linux system, and the WGET download tool, which is also included with most versions of Linux (although it s a good idea to use the Synaptic Package Manager or apt-cache search to check that it s installed). After finding out about dependencies, you should scroll down the README to look for any notes about compiling under Linux. It turns out there might be some issues with older 2.4 versions of the Linux kernel, but Ubuntu uses 2.6, so this isn t an issue. So, in short, before you can compile Dillo, you need to install devel versions of the glib and GTK+ 1.2 libraries. You can install these via the Synaptic Package Manager or apt-get. It will help cut down the search results if you realize that system library packages under Ubuntu are usually prefaced with lib. So, search for the devel versions of libgtk and libglib. Doing so on my test system returned three likely packages: libglib1.2-dev, libglib2.0-dev, and libgtk1.2-dev. There are two libglib entries because my system has both glib2 and the older glib1.2. To ensure compatibility, I decided to install develversions of both. Since you re working at the command prompt, install the packages via apt-get: sudo apt-get install libglib1.2-dev libglib2.0-dev libgtk1.2-dev As soon as I typed this, it turned out that libgtk1.2-dev came with a host of dependencies in the form of X server devel libraries. The reasoning is that if the GTK+ devel library files are needed, these other libraries are often needed, too. Whatever the case, there s no harm in installing them. Compiling Now comes the exciting process of compiling the program! This is done via three commands, issued in sequence: ./configure make sudo make install

Leave a Reply