Pre-installation Configuration

[Note]

Note

The GNOME packages in this book are being updated to GNOME-3. At the moment, the instructions and links for many GNOME packages are probably broken. Please consult the archives for the BLFS-support mailing list, from January 24th 2012 onwards, for pointers to the old GNOME-2 book and for where to look when building GNOME-3.

If a package has '??' for the estimated disk space or SBU, you may resonably conclude that the instructions are work in progress. Similarly where the package lacks a tag saying it has been built with LFS-7.0.

Set an environment variable to resolve the prefix destination.

If GNOME is your desktop of choice:

cat > /etc/profile.d/gnome.sh << "EOF" &&
export GNOME_PREFIX=/usr
export GNOME_SYSCONFDIR=/etc/gnome/3.2.2
export XDG_CONFIG_DIRS=$GNOME_SYSCONFDIR/xdg
export XDG_DATA_DIRS=/usr/share:/usr/local/share
EOF
. /etc/profile.d/gnome.sh

If you want to try-out GNOME, or install it in an easy-to-remove location:

[Note]

Note

You may wish to create a symbolic link to the actual versioned directory using a non-versioned name. This has the advantage of an easier path to type in all the changes below and also makes it easy to point to a different/newer version of GNOME without changing all the edits below. If you wish to use a non-versioned name in the changes below, issue the following commands as the root user:

install -v -m755 -d /opt/gnome-3.2.2 &&
ln -v -s gnome-3.2.2 /opt/gnome

If you created the symbolic link, change all instances of /opt/gnome-3.2.2 to /opt/gnome in the instructions below.

export GNOME_PREFIX=/opt/gnome-3.2.2

The try-out group will also need to make all the following configuration changes:

Add to your system or personal profile:

export PATH=$PATH:/opt/gnome-3.2.2/bin
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome-3.2.2/lib/pkgconfig
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome-3.2.2/share/pkgconfig
export GNOME_LIBCONFIG_PATH=/usr/lib:/opt/gnome-3.2.2/lib
export PYTHONPATH=$PYTHONPATH:/opt/gnome-3.2.2/lib/python2.7/site-packages

Add to your /etc/ld.so.conf:

cat >> /etc/ld.so.conf << "EOF"
# Begin gnome addition to /etc/ld.so.conf

/opt/gnome-3.2.2/lib

# End gnome addition
EOF

Add to your /etc/man_db.conf:

cat >> /etc/man_db.conf << "EOF"
# Begin gnome addition to man_db.conf

MANDATORY_MANPATH /opt/gnome-3.2.2/share/man

# End gnome addition to man_db.conf
EOF
[Tip]

Tip

Remember to execute ldconfig as the root user after installation of libraries to update the linker's library cache.

Last updated on 2012-02-11 19:58:34 +0000