GNOME Bugzilla – Bug 527735
Does not build against goffice-0.6.2 and gtkhtml-3.8
Last modified: 2018-06-29 22:03:27 UTC
Please describe the problem: The ./configure script does not check for goffice version, but the code will not build against new versions of goffice. Specifically, when building: gnc-html-graph-gog.c:47:56: error: goffice/graph/gog-renderer-gnome-print.h: No such file or directory gnc-html-graph-gog.c: In function 'draw_print_cb': gnc-html-graph-gog.c:671: warning: implicit declaration of function 'gog_graph_print_to_gnome_print' goffice-0.6.2 does not have gog-renderer-gnome-print.h file Steps to reproduce: 1. Try building gnucash 2.2.4 against goffice-0.6.2 2. 3. Actual results: ./configure will work fine,but make will fail. Expected results: Does this happen every time? yes Other information:
Works fine with 0.4.3 available here: ftp://ftp.gnome.org/pub/GNOME/sources/goffice/0.4/
You are somewhat incorrect. The configure script DOES check the version. However, there is no "maximum".. So it's certainly possible that the API changed between 0.6.0 and 0.6.2 in an incompatible way. But gnucash certainly DID work with 0.6.0.
Hmmm.. that's strange, because there's no goffice/graph/gog-renderer-gnome-print.h file in 0.6.0 either. But.. there's an #ifndef condition round the #include in the gnucash source: ... #ifndef GTKHTML_USES_GTKPRINT # include <goffice/graph/gog-renderer-gnome-print.h> #endif So if GTKHTML_USES_GTKPRINT is #defined somewhere, then gnucash may build against any verion of goffice. I'm using libgtkhtml-3.8 if it makes any difference.
Yes, that DOES make a difference. Try gtkhtml-3.14
Okay, that clears that up. Since it seems to work okay, I'll leave it as it is. I built this based on CentOS 5.1 packages, as I have described on the wiki: http://wiki.gnucash.org/wiki/RedHat (I will add a comment that goffice-0.6.x will work with later versions of gtkhtml). Thanks for the help. Feel free to close this bug as you see fit.
I think you're right that configure SHOULD check for this condition... So I'll leave this bug open for now.
I think has been solved by r1719[34] a while ago. Please do not hesitate to reopen this bug if i spoke untrue. Thanks for the report!
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=527735. Please update any external references or bookmarks.