Difference between revisions of "RedHat"

From GnuCash
Jump to: navigation, search
m (RHEL5.1/CentOS5.1: - requirements to work with goffice-0.6.x)
(RHEL5/SL5)
Line 3: Line 3:
  
 
== RHEL5/SL5 ==
 
== RHEL5/SL5 ==
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...
+
Getting GnuCash 2.2.0 (''update:'' 2.2.5 as well) 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
 
Optional: boot from sl50 livecd

Revision as of 01:32, 9 May 2008

FC5/RHEL4/CentOS4.3

See http://people.redhat.com/notting/gnucash/ or http://lists.gnucash.org/pipermail/gnucash-user/2006-July/017004.html.

RHEL5/SL5

Getting GnuCash 2.2.0 (update: 2.2.5 as well) 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 pcre gettext perl-XML-Parser
  • yum install libgnomeui-devel guile-devel libgnomeprint22-devel libgsf-devel pcre-devel gettext-devel gtkhtml3-devel
  • download slib-3a3 (NOT slib-3a4)
  • 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; you need to do this as user with write permissions into /usr/share/slib
    • guile -c "(use-modules (ice-9 slib)) (require 'printf)"

Aasmodeus 21:41, 25 July 2007 (EDT)


RHEL5.1/CentOS5.1

Similar to the above for RHEL5; this is for Gnucash 2.2.4:

Starting with the 'personal workstation' selection for CentOS 5.1, I needed the following extra steps:

1. Install glib-2.0 sources. Glib-2.0 will already be installed, and the easiest thing to do is to use the same version of the source code as you have already. In my case this is 2.12.3. (./configure will give you the website to go to; if you get the wrong one, ./configure will also tell you that the source files and compiled package are different versions!)

2. It also seems that PKG_CONFIG_PATH is not set correctly by default for root shells: export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

3. Then everything as above. Note that later version of goffice do not work with 2.2.4 (see http://bugzilla.gnome.org/show_bug.cgi?id=527735), but use 0.4.3 from ftp://ftp.gnome.org/pub/GNOME/sources/goffice/0.4/ and things will work. (For 0.6.x versions of goffice, you need a later version e.g. 3.14 of libgtkhtml, but I haven't tried that)

4. once ./configure runs all the way through, you need to edit src/pixmaps/Makefile and comment out the line:

#gncscalableicon_DATA = scalable/gnucash-icon.svg

5. make, make install

--Daveh01 14:18, 12 April 2008 (EDT)