gnucash-2.0.3 problem

Graeme Nichols gnichols at tpg.com.au
Sun Dec 31 00:22:54 EST 2006


Hello Folks,

I finally decided I should catch up and install gnucash-2.0.3 so I 
downloaded the tarball and built a binary .rpm package using the 
following command:

rpmbuild -tb gnucash-2.0.3.tar.gz

The rpm package gnucash-2.0.3-1.FC4.i386.rpm got built. It took a fair 
time and I saw a lot of warnings flash by that I couldn't read properly 
but there were no errors.

When I tried to install the package, using the following command:

[root at barney i386]# rpm -Uvh gnucash-2.0.3-1.FC4.i386.rpm
rpmdb: Program version 4.3 doesn't match environment version
error: db4 error(-30974) from dbenv->open: DB_VERSION_MISMATCH: Database 
environment version mismatch
error: cannot open Packages index using db3 -  (-30974)
warning: cannot open Solve database in 
/usr/lib/rpmdb/i386-redhat-linux/redhat
error: Failed dependencies:
         /usr/local/bin/perl is needed by gnucash-2.0.3-1.FC4.i386

I finished up with the above errors.

/usr/local/bin/perl exists (it is a binary file). I rebuilt the rpm 
database but the error stays the same. My system is FC4 (yeah, I know! 
but it is *stable*). There were no dependencies listed when creating the 
binary .rpm file.

The contents of /usr/lib/rpmdb/i386-redhat-linux/redhat is as follows:
[root at barney i386]# cd /usr/lib/rpmdb/i386-redhat-linux/redhat
[root at barney redhat]# ls
Basenames     __db.002  Filemd5s    Name         Provideversion 
Requireversion  Triggername
Conflictname  __db.003  Group       Packages     Pubkeys         Sha1header
__db.001      Dirnames  Installtid  Providename  Requirename     Sigmd5
[root at barney redhat]#

I then built a .src.rpm package and used the following command to build 
the binary .rpm package;

[root at barney redhat]# rpmbuild --rebuild gnucash-2.0.3-1.FC4.src.rpm

but installing (#rpm -Uvh [package-name]) resulted in the same errors.

Anyone any idea how to overcome this problem please?

Some of the warnings during the build of the binary rpm file sere 
something like the warning above with 'seems to be moved' or similar as 
part of the warning. They went past too fast to read.

My rpm is version 4.4.1 not 4.3 as above.


-- 

----------------------------------------------------------------------
Kind regards,

Graeme.
----------------------------------------------------------------------
Download my GnuPG public key from:-
http://www.users.tpg.com.au/gnichols/graemenichols.pub
----------------------------------------------------------------------

Truth never comes into the world but like a bastard, to the ignominy
of him that brought her birth.
		-- Milton


More information about the gnucash-user mailing list