[[LFS Note: This article was based on my Red Hat 7.1 install. See GNUCash 1.6.3/LFS and the hint on LFS for more info on installing Gnome for LFS or you want to dig really deep into the libraries.]]
In the article on GNUCash 1.6.2 Compile/Installation I mentioned that Gnome was more stable after I had compiled many of the Gnome components in order to get GNUCash to work correctly. I also mentioned that Ximian was not stable enough. I decided to recompile all of the rest of Gnome. This article discusses the problems I ran into recompiling Gnome from the latest sources.
I went to gnome.org and from the sources page I found that I needed to compile the following files in order:
audiofile-0.2.1.tar.gz
esound-0.2.23.tar.gz
glib-1.2.10.tar.gz
gtk+-1.2.10.tar.gz
imlib-1.9.10.tar.gz
gtk-engines-0.12.tar.gz
ORBit-0.5.8.tar.gz
gnome-vfs-1.0.2.tar.gz
gnome-libs-1.4.1.2.tar.gz
libgtop-1.0.12.tar.gz
xml-i18n-tools-0.9.tar.gz
libxml-1.8.16.tar.gz
libghttp-1.0.9.tar.gz
libglade-0.17.tar.gz
gdk-pixbuf-0.11.0.tar.gz
scrollkeeper-0.2.tar.gz
Core application downloads:
control-center-1.4.0.1.tar.gz
gnome-core-1.4.0.4.tar.gz
gnome-applets-1.4.0.4.tar.gz
mc-4.5.54.tar.gz
GNOME Additional source downloads:
bug-buddy-2.0.8.tar.gz
glade-0.6.2.tar.gz
gnome-python-1.4.1.tar.gz
users-guide-1.2.tar.gz
gnome-utils-1.4.0.2.tar.gz
gnome-pim-1.4.0.tar.gz
gnome-media-1.2.3.tar.gz
gnome-audio-1.4.0.tar.gz
gnome-print-0.29.tar.gz
gnome-games-1.4.0.3.tar.gz
ee-0.3.12.tar.gz
gnumeric-0.70.tar.gz
gtop-1.0.13.tar.gz
ggv-1.0.tar.gz
gdm-2.2.4.1.tar.gz
xchat-1.2.1.tar.gz
I use this to configure every package since I wanted to extract the files into /usr/local/src:
./configure –prefix=/usr –sysconfdir=/etc
make
make install
Be sure to remove the RPM first. To find the RPM for gnome-python-1.4.1, for instance, you would execute:
rpm -qa | grep python
After you figure out what the exect RPM for Python you have is, you can use:
rpm -e [RPM name] –nodeps
to remove it. [And don’t do this on a server, and make sure you have backed up your system, and do read our terms of use.] 🙂
When installing gnome-vfs, you get an error about gconf. Well, you need gconf. GConf is not in the stable sources tree and there is no reference on the main Gnome sources page about needing it. I got it here: ftp://ftp.gnome.org/pub/GNOME/unstable/sources/GConf/.
I used GConf-1.0.4.tar.gz.
Now, if you look at the .spec file for gnome-vfs:
Requires: glib >= 1.2.6
Requires: GConf >= 0.9
Requires: oaf >= 0.3.0
So… let’s get oaf again and compile since it is a dependency. I got it from here: ftp://ftp.gnome.org/pub/GNOME/unstable/latest/sources/.
and used this version: oaf-0.6.5.tar.gz.
Now, there is an interesting problem with the way that configure works. It will cache what it finds, so if you add GConf and try to compile again, you get the same error. Just delete config.cache in the root of gnome-vfs source and re-run configure.
When I compiled gnome-utils, I got an error about finding glade.h. I solved this by putting a symbolic link: glade -> libglade-1.0/glade/ in /usr/includes.
I needed libole2 to compile gnumeric. I used libole2-0.2.3.tar.gz, which I got here:
ftp://ftp.gnome.org/pub/GNOME/unstable/sources/libole2/.
If you have anything in ~/.gnome, you should nuke it before you upgrade Gnome.
One cool link that I found after I went through all of this is The Gnome Installation Guide.