[[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:
Core application downloads:
GNOME Additional source downloads:
I use this to configure every package since I wanted to extract the files into /usr/local/src:
./configure –prefix=/usr –sysconfdir=/etc
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
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:
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.