Thursday, June 10, 2010

GnuCash 2.2.9 on FC-13

FC-13 comes bundled with the 2.3.11 version of GnuCash. Unfortunately this version is not compatible with 2.2 and earlier versions and will not recognize the file headers while trying to open data files of those versions. This means doom for users who upgraded mid-year and found data incompatibility.

I ran :

rpm -qa | grep gnucash

Then the following were listed:

gnucash-2.3.11-1.fc13.i686
gnucash-docs-2.2.0-4.fc12.noarch

removed the two packages separately using

rpm -ev package-full-name --nodeps

I downloaded the source 2.2.9 tar file from the GnuCash website and got about compiling it in FC-13. So here is the procedure I had to adopt to get it running.

Afer the above tar file is extracted. Run the "./configure" command as root from the extracted directory. This may have to be done many times because each time some lib files etc., may be found missing and we need to install them through the Gnome software manager.

After a clean exit is made from "./configure". Run the "make" command, in my case I got an error "goffice/graph/gog-style.h: No such file or directory".

From wiki.gnucash.org, I found the solution.

uninstalled "goffice-devel-0.8.1-1.fc13.i686" and "goffice-0.8.1-1.fc13.i686" using

rpm -ev package-full-name --nodeps

downloaded "goffice-0.6.6-4.fc12.i686.rpm" and "goffice-devel-0.6.6-4.fc12.i686.rpm" from "http://rpm.pbone.net"

installed these by

rpm -ivh package-full-name --nodeps

Ran the "./configure" and "make" commands again.

This time, the "make" exited without error. Then I ran the "make install" command and a working GnuCash 2.2.9 got installed.

No comments:

Post a Comment