You are not logged in.

#1 2007-10-23 13:04:25

ravisghosh
Member
From: Intergalactic Spaces
Registered: 2006-10-12
Posts: 516
Website

Gnucash and goffice.-Solved

It seems there is a problem with the latest goffice-0.5.1. Gnucash 2.2.0 refuses to start with it n says

[shantanu@bluehead ~]$ gnucash
gnucash-bin: error while loading shared libraries: libgoffice-0.so.4: cannot open shared object file: No such file or directory
[shantanu@bluehead ~]$

After installing goffice-0.5.1, a "locate libgoffice*so" shows that there is no libgoffice*so at all.


Also, I am unable to upgrade gnucash 2.2.1 from aur.

checking for libgoffice-0.4 >= 0.4.0... no
checking for libgoffice-0.3 >= 0.3.0... no
checking for libgoffice-1 >= 0.0.4... no
configure: error: Cannot find libgoffice.
make: *** No targets specified and no makefile found.  Stop.
==> ERROR: Build Failed.  Aborting...

aurbuild: could not build "gnucash" with makepkg.
build directory retained at `/var/tmp/aurbuild/build/gnucash.22144'
In some cases you may be able to cd into the directory, fix the problem and run                                                              makepkg with success.
[shantanu@bluehead ~]

If you want to go back to goffice-0.4.3, then latest gnumeric wont work.

It is really out of my understanding that why such a great software like gnucash, which is taking queken and MS Money head on, is getting little attention in arch

Last edited by ravisghosh (2007-10-28 13:27:59)

Offline

#2 2007-10-24 12:08:38

ravisghosh
Member
From: Intergalactic Spaces
Registered: 2006-10-12
Posts: 516
Website

Re: Gnucash and goffice.-Solved

is anybody else facing this problem.

Offline

#3 2007-10-24 12:15:56

eyolf
Member
From: Copenhagen
Registered: 2005-11-29
Posts: 339
Website

Re: Gnucash and goffice.-Solved

Yes, so I've put goffice in the "do not upgrade" list in pacman.conf

Offline

#4 2007-10-25 01:34:18

ravisghosh
Member
From: Intergalactic Spaces
Registered: 2006-10-12
Posts: 516
Website

Re: Gnucash and goffice.-Solved

eyolf wrote:

Yes, so I've put goffice in the "do not upgrade" list in pacman.conf

But thats not a good idea. u wont be able to upgrade gnumeric too (if u use that) and it might cause problem in other packages too.

Offline

#5 2007-10-25 11:29:10

eyolf
Member
From: Copenhagen
Registered: 2005-11-29
Posts: 339
Website

Re: Gnucash and goffice.-Solved

I know -- it's just a workaround until I get around to rebuilding gnucash. I assume that if I upgrade goffice and then rebuild, it will work. In any case, I don't use gnumeric, so that's not a problem smile

Offline

#6 2007-10-25 11:29:16

dninja
Member
From: Sheffield, UK
Registered: 2006-04-29
Posts: 374
Website

Re: Gnucash and goffice.-Solved

Same problem here, I've tried to build from aur but I get this:

checking for libgoffice-0.4 >= 0.4.0... no
checking for libgoffice-0.3 >= 0.3.0... no
checking for libgoffice-1 >= 0.0.4... no
configure: error: Cannot find libgoffice.

which is true because I have libgoffice 5:

/usr/lib/libgoffice-0.5.so
/usr/lib/libgoffice-0.5.so.5.0.1
/usr/lib/libgoffice-0.5.so.5

I'll have a hack at the configure app to see if I can get it to build with 0.5 and let people know.

Offline

#7 2007-10-25 11:38:57

dninja
Member
From: Sheffield, UK
Registered: 2006-04-29
Posts: 374
Website

Re: Gnucash and goffice.-Solved

I tried hacking the check in configure to accept v.5 which is did ok but then I got this error:

configure: Found libgtkhtml-3.14, but goffice lacks a cairo renderer

If I get desparate then I'll keep digging but for now I'll make sure I don't upgrade my laptop which is still working!

Offline

#8 2007-10-27 19:25:12

Teld
Member
From: Nice, France
Registered: 2007-08-01
Posts: 15
Website

Re: Gnucash and goffice.-Solved

Well, backwards compatibility seems OK. A simple link seems to do the job:

cd /usr/lib
ln -s libgoffice-0.5.so.5.0.1 libgoffice-0.so.4

GNUCash works fine for me now.

Offline

#9 2007-10-27 21:48:42

luke
Member
From: US
Registered: 2004-06-22
Posts: 54

Re: Gnucash and goffice.-Solved

Well, I can't get gnucash to compile with the current goffice. Does anyone have an older package for either GNUCash or Goffice. I am reinstalling from a crashed HD so I don't have any old packages.  That or a fix would be greatly appreciated.

Offline

#10 2007-10-28 02:32:52

queueRAM
Member
Registered: 2006-09-05
Posts: 14

Re: Gnucash and goffice.-Solved

Sorry I've been kind of quiet on this issue.  I have been working on it since it was brought up in the AUR comments.  The good news is that I have developed a source fix for this so it will successfully build and link against goffice 0.5.  I put the patch in the latest AUR release.  Since I am not fluent with goffice, cairo, or even configure scripts, I cannot guarantee that this is absolutely correct, however, I can say that it builds and runs without problems on my machine.  I'll try to push this issue up to the gnucash devs in the meantime.  Please feel free to post comments here or in AUR about this.

Offline

#11 2007-10-29 00:57:43

luke
Member
From: US
Registered: 2004-06-22
Posts: 54

Re: Gnucash and goffice.-Solved

Well, thanks for trying queueRAM. Unfortunately, I still get the same error about not finding libgoffice that dninja posted above when I try to build with makepkg.

Any suggestions?

Offline

#12 2007-10-29 01:31:53

queueRAM
Member
Registered: 2006-09-05
Posts: 14

Re: Gnucash and goffice.-Solved

luke - You should no longer be getting the libgoffice error.  It should say:

checking for libgoffice-0.5 >= 0.5.0... yes

Make sure that you have the latest tar.gz from AUR (there should be a "gnucash_goffice0.5.patch" file included in it which adds the 0.5 check in).

Last edited by queueRAM (2007-10-29 01:32:57)

Offline

#13 2007-10-29 01:49:24

luke
Member
From: US
Registered: 2004-06-22
Posts: 54

Re: Gnucash and goffice.-Solved

Well, I did download everything fresh (including the patch) but still the same result. I'll try again and post the results here.

Offline

#14 2007-10-29 02:03:29

luke
Member
From: US
Registered: 2004-06-22
Posts: 54

Re: Gnucash and goffice.-Solved

One little line can make such a difference. I missed it last time.

PKGBUILD: line 23: patch: command not found

(Did I mention that this was a reinstall from a crashed HD? That's my only excuse.)

Everything is compiling now. It should be fine.

Sigh...sorry for wasting your time, and thank you for the patch.

Last edited by luke (2007-10-29 02:04:17)

Offline

#15 2007-10-29 03:15:09

queueRAM
Member
Registered: 2006-09-05
Posts: 14

Re: Gnucash and goffice.-Solved

I'm glad to hear that everything is all right.

That brings up a good question though: should 'patch' be a makedepends?  I only see it in one PKGBUILD in ABS and there are plenty that use patch.

Offline

#16 2007-10-29 20:49:51

stavrosg
Member
From: Rhodes, Greece
Registered: 2005-05-01
Posts: 330
Website

Re: Gnucash and goffice.-Solved

I could not build this on arch64... will investigate later.
I built it on a 32bit chroot, but it doesn't run, just exits with the message

gnc.bin-Message: main: binreloc relocation support was disabled at configure time.

Google was not really helpful, since on other instances it just went on to run, but not for me sad
Any ideas?

Offline

#17 2007-10-30 20:14:46

karel
Member
From: Czech republic
Registered: 2007-01-15
Posts: 17

Re: Gnucash and goffice.-Solved

I run makepkg and stop with error:
checking for perl... /usr/bin/perl
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
make: *** No targets specified and no makefile found.  Stop.
==> ERROR: Build Failed.  Aborting...

what is wrong?

Offline

#18 2007-11-01 01:48:55

ravisghosh
Member
From: Intergalactic Spaces
Registered: 2006-10-12
Posts: 516
Website

Re: Gnucash and goffice.-Solved

There are issues with new version of slib. Its posted in aur too..

http://aur.archlinux.org/packages.php?d … s=0&SeB=nd

Offline

Board footer

Powered by FluxBB