X. GNOME

Introduction to GNOME

This chapter attempts to install a complete GNOME-2.2 desktop environment and a limited GNOME 1.4 library environment that is sufficient to run GNOME 1.4 applications included in this book. The order of the pages are meant to follow the build order defined by the GNOME development team as published in the release notes, with two exceptions. If a package is in the release notes build list, but not in this chapter, it has been installed elsewhere in the book.

The installation of GNOME-2.2 is a large undertaking and one we would like to see you complete with the least amount of stress. One of our first goals in this installation is to protect your previously installed software, especially if you are testing GNOME on your machine. GNOME-2.2 packages utilize the --prefix= option for configure, so we will use that and an Environment variable (GNOME_PREFIX) to add flexibility to the install.

If you know that you want GNOME as your desktop, it is recommended that you install with --prefix=/usr. If you are not sure that you are going to keep GNOME on your installation, it is recommended that you install with --prefix=/opt/gnome-2.2. Setting the Environment variable and the additional edits required by the second option are covered on the pre-installation page.

If you choose the second option, removal of GNOME-2.2 is as easy as removing the edits from the pre-installation page and issuing the following command:

rm /opt/gnome-2.2 -r 

If your system was completely built per LFS and BLFS instructions, you have a very good chance of using GNOME-2.2 after your first install. If you are a typical LFS user, you have made modifications to the instructions along the way knowing that you have to take those modifications into account on future installations. You should have no problems integrating GNOME-2.2 into your unique setup, but you will have 28 to 33 packages installed before you can run GNOME through any testing (assuming your window manager is preinstalled and tested). We would anticipate that you will be rebuilding GNOME at least once to make adjustments for your setup.

If you are building a GNOME 1.4 desktop environment, you would install only those libraries in the GNOME 1.4 chapter and any dependencies listed on those pages, whether labeled or not. GNOME packages without pages are simply installed with:
./configure --prefix=/opt/gnome &&
make &&
make install
These instructions are simplistic to facilitate removal of GNOME 1.4 from BLFS systems when it is no longer necessary. These instructions may be refined later to comply with BLFS standards for file locations, specifically /opt/gnome/etc to /etc and /opt/gnome/var to /var. You should consider using the GNOME 1.4 hint located at http://hints.linuxfromscratch.org/hints if you have no interest in GNOME-2.2.

GNOME-2.2 dependencies

Required

XFree86-4.3.0.1, GTK+-2.2.4, libpng-1.2.5, libjpeg-6b, libtiff-3.5.7 and popt-1.7

Optional

libxml2-2.5.11, libxslt-1.0.33, DocBook XML DTD-4.2, DocBook XSL Stylesheets-1.62.4 and FAM-2.6.10