[ GNOME Logo by Tigert ]


Building GNOME From Tar Sources

Gnome Tarball Setup for RH 5.0

Gnome Tarball Installation for Redhat 5.0

Current Links Project Comments
Hot Links

Gtk+ and glib ftp site

ftp://ftp.gtk.org/pub/gtk/v1.1
Gnome Ftp Site
ftp://ftp.gnome.org/pub/GNOME
Gnome extra-src directory
ftp://ftp.gnome.org/pub/GNOME/extra-src
Gnome sources directory
ftp://ftp.gnome.org/pub/GNOME/sources
Gnome Imlib directory
ftp://ftp.gnome.org/pub/imlib
Redhat labs Imlib ftp directory

ftp://ftp.labs.redhat.com/pub/imlib/RPM
Redhat labs Imlib web page
http://www.labs.redhat.com/imlib

Required Downloads

Gnome extra sources(extra-src):
libtool-1.0h.tar.gz
esound-0.2.1.tar.gz
gmp-2.0.2.tar.gz
gsl-0.3b.tar.gz
slib2c0.tar.gz
guile-1.2.tar.gz
mico-2.0.5.tar.gz
From gtk+ site:
gtk+-1.1.1.tar.gz
glib-1.1.2.tar.gz
From Redhat Labs Imlib support:
Imlib-1.7.tar.gz

Gnome Sources
gnome-libs-0.27.tar.gz
libPropList-0.7.1gnome.tar.gz
libgtop-0.25.0.tar.gz
gnome-guile-0.27.tar.gz
gnome-objc-0.27.tar.gz
gnome-core-0.28.1.tar.gz
gnome-admin-0.27.tar.gz
gnome-utils-0.28.tar.gz
mc-4.1.35.tar.gz
gnome-games-0.27.tar.gz
gnome-media-0.27.tar.gz
balsa-0.4.5.tar.gz
ee-0.2.tar.gz
ggv-0.26.tar.gz


Redhat Labs Imlib support files
ImageMagick-4.0.5-4.i386.rpm
ImageMagick-devel-4.0.5-4.i386.rpm
libgr-2.0.13-10.i386.rpm
libgr-devel-2.0.13-10.i386.rpm
libgr-progs-2.0.13-10.i386.rpm
libjpeg-6b-5.i386.rpm
libjpeg-devel-6b-5.i386.rpm
libpng-1.0.1-1.i386.rpm
libpng-devel-1.0.1-1.i386.rpm
libtiff-3.4-4.i386.rpm
libtiff-devel-3.4-4.i386.rpm
libungif-3.0-3.i386.rpm
libungif-devel-3.0-3.i386.rpm
libungif-progs-3.0-3.i386.rpm
zlib-1.1.2-1.i386.rpm
zlib-devel-1.1.2-1.i386.rpm
Imlib-1.7.tar.gz

This is a summary of a Gnome installation on Intel Redhat 5.0 from Gnome tar.gz sources current as of 1 September 1998.

Redhat 5.0 Installation Status
A complete(everything) install of Redhat 5.0 with all errata's posted through 1 September 1998.  This means all libraries, development libraries, development tools, languages, etc. from the CD are installed and updated.

This is a complete tar.gz installation except for the Redhat Labs recommended rpm files to support Imlib 1.7. 

Why do a tar.gz installation ?

  • Upgrading libraries and all related dependencies to RH 5.1
    for Gnome installation is more work than a tar.gz install
  • All projects are setup so the gnome source tree and required
    support software is under usr/local.

Organization:
/usr/local/src/extra-src for the Gnome extra-src files
/usr/local/src/sources for the Gnome sources files
/usr/local/src/Imlib for the Redhat Labs Imlib 1.7 files

You will need plenty of hard drive space for compilation and installation. Some of the individual tar.gz project directories will grow to almost 60 MB.

If you compile and install all of the files:
/usr/local will grow by at least 100 MB
The extra-src directory will reach about 100MB before cleanup.
The Gnome sources directory with all tarballs expanded and compiled will grow to about 260 MB before a 'make clean' or deletions are done.

Recommend about 300 MB of free space under /usr/local to store sources, compile, and complete installation of Gnome.  You can get by with less if you clean up as you proceed.  Beware! - If you have to backtrack after clean up you will have to configure and make the target project again.

Follow the order in this document to prevent unnecessary backtracking

Hot Links and Required Downloads
The Hot Links are quick references to necessary source archives.
The required downloads reference only those files needed for successful compilation of Gnome tar.gz sources on Redhat 5.0 as of 29 August 1998.
Redhat 5.0 installation must match the status requirement stated at the top of this frame.

Start by downloading extra sources gtk+-1.1.1 and glib-1.1.2 from
ftp://ftp.gtk.org/pub/gtk/v1.1.
Do not use earlier versions of gtk+ which include the glib distribution or gnome-libs-0.27 will not compile.  Do not compile until Imlib support libs are installed.

Top

Download the Imlib tar source, library rpm updates, and ImageMagick
from http://www.labs.redhat.com/imlib.
Use this web site instead of the ftp sites at Redhat Labs or Gnome to download the latest versions. The ftp sites have several versions of each rpm in the Imlib directory. This could lead to version conflicts during download.

Follow this order for fastest installation of Imlib support libraries:

  • Remove the old ImageMagick package
  • Install or upgrade the new libs(depends on your configuration)
    A pure version of 5.0 will have to install a version of the gif library
    , either giflib or libungif, and upgrade everything else.
    Chose libungif because of licensing issues mentioned on the web page
  • Use the --nodeps option with libpng and libjpeg updates
    (rpm -Uvh --nodeps "rpm file")
  • After updating libjpeg, soft link(ln -s) libjpeg.so.6 in /usr/lib to the new libjpeg library for old dependencies (xv, gimp, xpaint)
  • After updating libpng soft link(ln -s) libpng.so.0 in /usr/lib to the new libpng library for old dependencies
  • Applications dependent on old soft links will work as usual with links to news libraries
  • Install the new ImageMagick package
  • I note here that the Imlib 1.7 library rpm files will not install without installing the gtk+ or glib rpm packages.
    At this point I chose to download the Imlib 1.7 tar ball instead.
  • The list I downloaded follows(http://www.labs.redhat.com/imlib):
    • ImageMagick-4.0.5-4.i386.rpm
    • ImageMagick-devel-4.0.5-4.i386.rpm
    • libgr-2.0.13-10.i386.rpm
    • libgr-devel-2.0.13-10.i386.rpm
    • libgr-progs-2.0.13-10.i386.rpm
    • libjpeg-6b-5.i386.rpm
    • libjpeg-devel-6b-5.i386.rpm
    • libpng-1.0.1-1.i386.rpm
    • libpng-devel-1.0.1-1.i386.rpm
    • libtiff-3.4-4.i386.rpm
    • libtiff-devel-3.4-4.i386.rpm
    • libungif-3.0-3.i386.rpm
    • libungif-devel-3.0-3.i386.rpm
    • libungif-progs-3.0-3.i386.rpm
    • zlib-1.1.2-1.i386.rpm
    • zlib-devel-1.1.2-1.i386.rpm
    • Imlib-1.7.tar.gz
  • Alpha versions also available(of course)
  • Install or Upgrade all rpm files from the Redhat Labs Imlib page before your start compilations of extra-src, Imlib, or sources.
  • Follow the order in this document to prevent unnecessary backtracking
    I initially compiled everything per the following lists up to gnome-admin without the new Imlib source or support libraries. I did not have a gif library.  Gnome started and ran well, but I was still in the discover phase of the project.  I found the new Imlib source and libs, downloaded everything, installed(upgraded) the libs, and compiled and installed Imlib 1.7.  I proceeded to compile gnome-admin and busted on library errors!  The new Imlib was compiled with a gif library and gnome configurations compiled and set without gif libraries now could not find the references!   What next ?  Ran a 'make distclean' on all Gnome sources and recompiled according to the list.  It was not necessary to recompile the extra sources.
  • Run ldconfig -v often !

Top

Next download, compile, and install the remaining extra
sources files from
ftp://ftp.gnome.org/pub/GNOME/extra-src
List follows(Highlighted files are required for download
for this installation, remaining files are outdated or unnecessary):

  • libtool-1.0h.tar.gz
  • autoconf-2.12.tar.gz
        Not needed for this installation
  • automake-1.3.tar.gz
        Not needed for this installation
  • esound-0.2.1.tar.gz
  • gettext-0.10.tar.gz
        Not needed for this installation
  • gmp-2.0.2.tar.gz
  • gsl-0.3b.tar.gz
  • gtk+-1.0.4.tar.gz
        Replace with gtk+-1.1.1.tar.gz from the gtk+ ftp site
  • glib-1.1.2.tar.gz
        Get from the gtk+ ftp site
        This is a minor update to glib-1.1.1 which includes
        the missing configure script.
  • Imlib-1.4.tar.gz
        Replace with Imlib-1.7.tar.gz from Redhat Labs
  • slib2c0.tar.gz
  • guile-1.2.tar.gz
  • mico-2.0.5.tar.gz
  • libgtop-0.01.tar.gz
        Not needed.  Gnome sources includes a later version

Notes on extra-src compilations:

  • libtool
        If needed, most projects create it anyway
  • slib2c0
        Expand this in usr/local/lib and leave it in the slib directory
  • Imlib 1.7
        Compile from source
  • mico
        You have to have this to compile gnome-core
        Configure script not setup up
        Run autogen.sh to generate configure script
  • Do not compile libgtop-0.01 if you downloaded it.
        The 0.25.0 version is with the gnome source tarballs.
  • A few of the packages did not have the configure script.
        Execute the autogen.sh file in the project directory if it exists.
        If not try executing:
            aclocal -I .
            autoconf
        and hopefully, the configure script will appear.
        If there are syntax errors during configure, script corrections are usually not too difficult.  If the offending lines check for an inclusion, you can usually comment the lines out and change the related references in the resulting Makefile.
  • Run ldconfig -v often !

Top

Next download, compile, and install the Gnome source tarballs

from ftp://ftp.gnome.org/pub/GNOME/sources
Following this order will save some backtracking:

  • gnome-libs-0.27.tar.gz
  • libPropList-0.7.1gnome.tar.gz
  • libgtop-0.25.0.tar.gz
  • gnome-guile-0.27.tar.gz
  • gnome-objc-0.27.tar.gz
  • gnome-core-0.28.1.tar.gz
  • gnome-admin-0.27.tar.gz
  • gnome-utils-0.28.tar.gz
  • mc-4.1.35.tar.gz
  • gnome-games-0.27.tar.gz
  • gnome-media-0.27.tar.gz
  • balsa-0.4.5.tar.gz
  • ee-0.2.tar.gz
  • ggv-0.26.tar.gz

Notes on Gnome source compilations:

  • gnome-libs
        Needed by everything
  • libPropList
        No problems
  • libgtop
        No problems
  • gnome-guile
        Needed by gnome-utils
  • gnome-objc
        Needed by gnome-admin
  • Run ldconfig often !
  • gnome-core
        No problems
  • gnome-admin
        No problems
  • gnome-utils
        Guname compile in mini-utils failed with errors:
        Moreinfo.c line 335 undefined reference to glibtop_labels_mem
        Moreinfo.c line 348 undefined reference to glibtop_labels_swap
       Libgtop_common.so undefined reference to XauGetAuthByAddr
        To fix add the following to line 181 of the guname directory Makefile:
        -L/usr/local/lib -lgtop_names -L/usr/X11R6/lib -lXau
  • mc
        Remove the old mc package or mc will insist on
        setting install prefix to /usr/bin instead of /usr/local/bin
        See configure --help to set the proper configure flags
        for mc gnome(gmc) compilation
  • gnome-games
        No problems
  • gnome-media
        I did not bother with this
  • Balsa
        Balsa INSTALL file asks for:
        glib >= 1.1.2
        gtk+ >= 1.1.1
        Imlib >= 1.7
        gnome-libs >= 0.27
  • ee(Electric Eyes)
        No problems
  • ggv
        No problems

Finishing Up

  • Elected to use fvwm2 as the desktop manager
  • Edited the /etc/X11/fvwm2/system.fvwm2rc file
    and deleted all modules.  Deleted all menus except

    for shells and exit.  Using this file for desktop background
    colors.
  • The /etc/X11/xinit/Xclients file follows:
    #!/bin/sh

    if [ -n "$(type -path fvwm2)" ]; then
          keyboard-properties --init &
          mouse-properties --init &
          panel &
          exec fvwm2
    fi
    ##
  • Copied some of the better images from /usr/share/icons/mini
    to /usr/local/share/pixmaps directory used by the Gnome menu
    program
  • Started X and ran the menu program to fill out Icons, add
    programs and check sort order
  • Added a few buttons to the panel

Done

Top

Authored by Les Thompson
Questions and comments to lthom@midwest.net

[Table of Contents] [Up]

Permission to use material from the GNOME website was kindly granted by Michal Fulbright.

<<  Back Main Next  >>