Gnucash Installation from Source

Brent Scott qubit at mail.com
Sat Feb 7 17:09:52 CST 2004


> >> > FAILURE test_real_account test-xml-account.c:352 version wrong.  Not 2.0.0 or not there
> >> > FAILURE test_real_transaction test-xml-transaction.c:456 version wrong.  Not 2.0.0 or not there
> >> > FAILURE test_real_commodity test-xml-commodity.c:220 version wrong.  Not 2.0.0 or not there
> >> 
> >> Ok, these appear to be real failures...  But it's working in my code
> >> so I don't know what to tell you.  Perhaps it's a problem with libxml
> >> on your system?  Not being able to reproduce this here, you're probably
> >> going to have to go debugging on your own, I'm afraid.
> >
> > What is the 2.0.0 referring to? I imagine not the version for libmxl
> > since gnucash does not support it. Here is what I found in the trace
> > when launcing gnucash. It appears to be accessing libxml version 1
> > after a few failed attempts in the wrong locations, so imagine that
> > it is using the correct library succesfully:
> 
> The 2.0.0 refers to the XML "schema" format version number.  It seems to
> imply that it's creating an object but not reading it back in correctly.
> I have no clue why..  As I said, I don't get this on my RH9 system
> so I'd tend to fault your version of libxml.

I can save and load the xml files created by GNU cash just fine, so I"m not sure why it is a problem on the test. I'll do some more digging on the 'net to see if I find anything of use. I'll post if succesful.

> FTR, I've got:
> 
> --> rpm -q libxml
> libxml-1.8.17-8
> 
> > This doesn't tell me why the xml related tests failed when doing a
> > 'make check'. What are the xml libraries used for in gnucash?
> 
> Uh, Data Storage.  The Gnucash Data File is XML.

That's what I thought. I'm new to GNUCash, so just wanted to verify before I said something stupid (or something else stupid :). I hadn't actually tried saving one of the files until just this last response.

> >> Run strace and figure out what's failing?  Most likely there is a
> >> dependent library that's missing or misplaced or can't be found.
> >
> > I'm only an ameteur programmer, but this trace is telling me that the library IS opened and accessed correctly. Am I mis-reading it?
> >
> > open("/opt/GnuCash/lib/gnucash/libgncmod-backend-postgres.la", O_RDONLY) = 5
> > fstat64(5, {st_mode=S_IFREG|0755, st_size=1261, ...}) = 0
> > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x400bc000
> > read(5, "# libgncmod-backend-postgres.la "..., 4096) = 1261
> > read(5, "", 4096)                       = 0
> > close(5)                                = 0
> > munmap(0x400bc000, 4096)                = 0
> 
> Yes, it's finding this one, but most likely it's failing to find a
> subsequent library.  Keep on looking until it fails to find a library
> (most likely shortly before the error message).

Cannot find anything else failing shortly before. I have scrolled through most of my strace log, but can't find much of anything failing actually. Usually, if there is a failure, it's just looking in the wrong place and eventually finds it after a few tries (which should be normal). I'll keep digging, but doesn't make much sense . . .

Thanks.

-Br-
-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm



More information about the gnucash-user mailing list