Getting GnuCash 2.2.0 to install on RHEL 5 and recompiled editions (specifically tested: Fermi SL 5.0 with updates as of 7/25/2007, but it should work on all RHEL5 recompiles). I haven't yet created the RPM like I used to with RHEL3 and GC1.8.9, maybe one day I'll get to that and document it here...
Optional: boot from sl50 livecd
The installations below are based on the default RPM selections of the SL5.0 LiveCD. I tested this off the LiveCD directly as well as Installing to Hard Drive from the LiveCD. If you installed your OS from the install CD's/DVD, you might already have a lot of these RPM's installed; no harm done.
yum groupinstall 'Development Tools' yum install libgnomeui-devel perl-XML-Parser guile-devel libgnomeprint22-devel yum install libgsf-devel pcre pcre-devel gettext gettext-devel gtkhtml3-devel
download slib-3a3 (NOT slib-3a4) http://swiss.csail.mit.edu/ftpdir/scm/OLD/slib3a3.tar.gz install expanded slib/ subdirectory and move it into /usr/share ln -s /usr/share/slib /usr/share/guile/slib
- Create SLIB catalog indirectly by invoking it first time
- Need to do this as user with write permissions into /usr/share/slib
guile -c "(use-modules (ice-9 slib)) (require 'printf)"
download goffice-0.4.1 (0.4.1 is what I used; 0.4.2 released on 7/23/2007) http://freshmeat.net/redir/goffice/58291/url_tgz/goffice-0.4.2.tar.gz ./configure --prefix=/usr, make, make install
download gnucash-2.2.0 (and docs if you want help system to work) http://www.gnucash.org/pub/gnucash/sources/stable/gnucash-2.2.0.tar.bz2 http://www.gnucash.org/pub/gnucash/sources/stable/gnucash-docs-2.2.0.tar.gz ./configure, make, make install