gnucash 2.2.5 does not compile with libgoffice 0.6

Derek Atkins warlord at MIT.EDU
Sat Jun 7 14:18:03 EDT 2008


Hi,

Quoting Rainer Dorsch <rdorsch at web.de>:

>> > gnc-html-graph-gog.lo -MD -MP -MF .deps/gnc-html-graph-gog.Tpo -c
>> > gnc-html-graph-gog.c  -fPIC -DPIC -o .libs/gnc-html-graph-gog.o
>> > 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’
>> > make[5]: *** [gnc-html-graph-gog.lo] Error 1
>> >
> rd at blackbox:~/SW.nobackup/gnucash-2.2.5$ auto-apt search
> gog-renderer-gnome-print.h
> rd at blackbox:~/SW.nobackup/gnucash-2.2.5$
>
>
> Where is gog-renderer-gnome-print.h file supposed to come from?

It's distributed by earlier versions of GOffice.  However the
problem here (AGAIN!) is that you're using the wrong version of
gtkhtml.    The code in question is:

#ifndef GTKHTML_USES_GTKPRINT
#    include <goffice/graph/gog-renderer-gnome-print.h>
#endif

Which means you do NOT have GTKHTML_USES_GTKPRINT defined..  Which is
because you're using a too-old version of GtkHTML.  You need GtkHTML
3.14, not GtkHTML-3.8.   What version of GtkHTML do you have installed?

> Thanks,
> Rainer

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the gnucash-devel mailing list