LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-23-2010, 10:36 PM   #1
linuxs64
Member
 
Registered: Jun 2010
Posts: 116

Rep: Reputation: 47
[13.1-x86_64] GnuCash compile error : gnome-utils


error message

Code:
mv -f .deps/gnc-icons.Tpo .deps/gnc-icons.Plo
mv -f .deps/gnc-html.Tpo .deps/gnc-html.Plo
make[5]: Leaving directory `/tmp/SBo/gnucash-2.2.9/src/gnome-utils'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/SBo/gnucash-2.2.9/src/gnome-utils'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/tmp/SBo/gnucash-2.2.9/src/gnome-utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/SBo/gnucash-2.2.9/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/gnucash-2.2.9'
make: *** [all] Error 2
SBo description

Quote:
GNUCash is opensource accounting software.

This requires the following additional software, and it is suggested
that you build them in this order:

slib libofx ORBit2 GConf libtasn1 gnome-keyring gnome-mime-data libbonobo gnome-vfs libgnomecanvas libgnome libbonoboui libgnomeui libgnomecups libgnomeprint libgnomeprintui gtkhtml goffice

aqbanking is optional, but it's not available at SlackBuilds.org.
I'm using SBo script to compile gnucash, with all the listed dependencies built successfully (in orderly manner). System multilib is configured as per alien's wiki. Is there something else I'm missing here?

Last edited by linuxs64; 06-24-2010 at 12:40 AM.
 
Old 06-24-2010, 06:32 AM   #2
XGizzmo
Member
 
Registered: Mar 2007
Distribution: Slackware
Posts: 264

Rep: Reputation: 69
You did not post enough of the build log to see what the error is.
 
Old 06-25-2010, 06:33 AM   #3
vbatts
Member
 
Registered: Jun 2005
Location: Raleigh, NC, USA
Distribution: slackware
Posts: 88

Rep: Reputation: 63
you could also provide more info, like whether you've made your own selection of packages from the official slackware installation, or did you do a full install?
use a service like http://pastebin.com/ to paste a larger select of the output.

additionally, there is a MAINTAINER listed in the $PRGNAM.info file. frequently, you may do well to ping them if you have exhausted your own research/investigation into the issue.

take care,
 
Old 06-25-2010, 06:46 AM   #4
linuxs64
Member
 
Registered: Jun 2010
Posts: 116

Original Poster
Rep: Reputation: 47
I'll have to recompile to get the error messages again. Did anyone succeed in getting gnucash to work at all in 13.1?

I almost gave up on this gnome stuff.
 
Old 06-25-2010, 07:20 AM   #5
vbatts
Member
 
Registered: Jun 2005
Location: Raleigh, NC, USA
Distribution: slackware
Posts: 88

Rep: Reputation: 63
they test the packages in SBo before publishing, but occassionally, one of the dependencies will be upgraded, and break a build like gnucash.

It appears that goffice was upgraded since the 13.1 branch release
Quote:
Sun Jun 13 04:47:39 UTC 2010
libraries/goffice: Updated for version 0.8.5.
and the gnucash build is failing due this,
Code:
gnc-html-graph-gog.c:49:37: error: goffice/graph/gog-style.h: No such file or directory
i'll take a look into this and respond shortly.

Take care,
 
Old 06-25-2010, 11:35 AM   #6
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
Ugh goffice... I have been disappointed in SBo's choice in version for goffice. goffice 7.x series requires the gnome component of libgsf. It can only be created at compile time along with the same root pacakge as libgsf. However, that requires all the extra gnome libraries you installed. I believed it to be a mistake that 7.0 compiled without gnome libgsf. But now I'm confused as 0.8.6 compiles fine without it.

Additionally, the 8.x series seems completely incompatible with goffice at the moment. The gog-style.h file is not included in the 8.x series at least from the 0.8.6 version. This is probably indirectly documented somewhere in the change logs, however I could not find any direct mention to gog-style.h in them.

Either way, this means that the last complete stable version of goffice that's compatible with Slackware and the ONE program (gnucash) that uses it should be version 0.6.6. Really if you look hard at it anyway, gnucash is designed to use goffice 0.5.x series anyway, so maybe we should all be using goffice 0.5.4
 
Old 06-30-2010, 08:10 AM   #7
vbatts
Member
 
Registered: Jun 2005
Location: Raleigh, NC, USA
Distribution: slackware
Posts: 88

Rep: Reputation: 63
submitted to SBo, but for early adopters, http://cardinal.lizella.net/~vbatts/...gnucash.tar.gz

Take care,
 
Old 06-30-2010, 10:02 AM   #8
linuxs64
Member
 
Registered: Jun 2010
Posts: 116

Original Poster
Rep: Reputation: 47
Quote:
Originally Posted by vbatts View Post
submitted to SBo, but for early adopters, http://cardinal.lizella.net/~vbatts/...gnucash.tar.gz

Take care,
Thanks for the slackbuild script. It worked! Here's a screenshot.
The built-in docs/tutorial is not available, but can be accessed via the gnucash site.
Attached Thumbnails
Click image for larger version

Name:	gnucash_successful.png
Views:	18
Size:	76.4 KB
ID:	4010  
 
Old 06-30-2010, 02:12 PM   #9
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
Isn't it better to just use goffice 0.6.6? Is there even anything else on SlackBuilds that uses goffice?

Additionally, if that small of a patch could solve the issue, then I'm sure gnome slack build would continue to support gnucash with version 2.30 for Slackware 13.1.

You may make the program unstable if you don't know the intricacies of goffice and making those changes.

This is why Slackware finds the best versions of dependencies to reduce the number of patches on vanilla packages.


EDIT:
Hrmmms... Well gnumeric, goffice, and libgsf all seem to be tied together in the same project. Gnumeric may not be optimal with older versions of goffice.

Either way, Moving forward, slackbuilds may need a build script to compile a companion package that contains the gnome portion of libgsf.

Last edited by lumak; 06-30-2010 at 02:48 PM.
 
Old 06-30-2010, 10:55 PM   #10
grond
LQ Newbie
 
Registered: Jun 2010
Posts: 8

Rep: Reputation: 1
Kudos, vbatts! I hit the same roadblock today (missing gog-style.h error). Thanks!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian x86_64 kernel compile error in ptrace.c pelainux Linux - Kernel 1 01-14-2010 12:30 PM
Cross Compile x86_64 to i386 - GCC Error fatmcgav Red Hat 4 02-26-2009 03:55 PM
gnome-powermanager suspend error (quriks/pm-utils) vatten Linux - Software 0 09-06-2008 09:24 AM
Gnucash compile error. alunduil Programming 3 06-02-2005 02:11 PM
gnucash -> gnome libraries and xml error jtwJGuevara Linux - Software 2 03-30-2004 08:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration