Re: Build issue with gnucash-2.2.9-102 and interaction with libgoffice-0.8-0.8.0-2
David Reiser <[email protected]> Sat, 5 Jun 2010 17:09:45 -0400
| Newsgroups | gmane.os.apple.fink.gnome |
|---|---|
| Message-ID | <[email protected]> |
On Jun 5, 2010, at 1:15 PM, Daniel Macks wrote: > On Sat, Jun 05, 2010 at 12:20:56PM -0400, Alexander Hansen wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> I'm getting the following error from gnucash2 (also reported on #fink): >> >> gcc -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN=\"gnc.gui\" >> - -I/sw/lib/system-openssl/include -I/sw/include -I/usr/X11R6/include >> - -I../../src/core-utils -I../../src/gnc-module -I../../src/engine >> - -I../../src/backend/file -I../../src/app-utils -I../../src -I../../src >> - -I../../lib/libc -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include >> - -I/sw/include/libglade-2.0 -I/sw/include/gtk-2.0 -I/sw/include/libxml2 >> - -I/sw/include -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 >> - -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/glib-2.0 >> - -I/sw/lib/glib-2.0/include -I/sw/include/freetype2 -I/usr/X11R6/include >> - -I/usr/X11/include -I/sw/include/gtk-2.0 -I/sw/lib/gtk-2.0/include >> - -I/sw/include/atk-1.0 -I/sw/include/cairo -I/sw/include/pango-1.0 >> - -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include >> - -I/sw/include/freetype2 -I/sw/include -I/usr/X11R6/include >> - -I/usr/X11/include -I/sw/include/libgnomeui-2.0 >> - -I/sw/include/libgnome-2.0 -I/sw/include/libbonoboui-2.0 >> - -I/sw/include/libgnomecanvas-2.0 -I/sw/include/gtk-2.0 >> - -I/sw/include/gnome-vfs-2.0 >> - -I/sw/lib/gnome-vfs2.16/gnome-vfs-2.0/include -I/sw/include/glib-2.0 >> - -I/sw/lib/glib-2.0/include -I/sw/include/libbonobo-2.0 >> - -I/sw/include/orbit-2.0 -I/sw/include/bonobo-activation-2.0 >> - -I/sw/include/libart-2.0 -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 >> - -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/freetype2 >> - -I/sw/include -I/sw/include/gconf/2 -I/usr/X11R6/include >> - -I/usr/X11/include -DORBIT2=1 -I/sw/include/libgtkhtml-3.14 >> - -I/sw/include/gtk-2.0 -I/sw/include/gconf/2 -I/sw/lib/gtk-2.0/include >> - -I/sw/include/atk-1.0 -I/sw/include/cairo -I/sw/include/pango-1.0 >> - -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include >> - -I/sw/include/freetype2 -I/usr/X11R6/include -I/usr/X11/include >> - -I/sw/include -Dmacosx -I/sw/include -D_THREAD_SAFE >> - -I../../lib/libqof/qof -I../../lib/libqof/qof >> - -I/sw/include/libgoffice-0.8 -I/sw/include/glib-2.0 >> - -I/sw/lib/glib-2.0/include -I/sw/include/libgsf-1 -I/sw/include/libxml2 >> - -I/sw/include -I/sw/include/gtk-2.0 -I/sw/include/libglade-2.0 >> - -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/gconf/2 >> - -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/freetype2 >> - -I/usr/X11R6/include -I/usr/X11/include -Werror >> - -Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -g >> - -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations >> - -Wno-unused -c gnc-html-graph-gog.c -fno-common -DPIC -o >> .libs/gnc-html-graph-gog.o >> gnc-html-graph-gog.c:49:37: error: goffice/graph/gog-style.h: No such >> file or directory >> >> libgoffice-0.8 has only the past tense version: >> >> libgoffice-0.8: /sw/include/libgoffice-0.8/goffice/graph/gog-styled-object.h > > Some more debugging on #fink, we find that the .info specifies > libgoffice-0.6 as dependency, but the build is picking > libgoffice-0.8. Looks like ./configure tries a bunch of different > libgoffice-0.x in descending order, and so it finds 0.8 if it is > installed. The libgoffice-0.x are *not* mutually exclusive by > pathname-collisions, so they do not Conflicts/Repalces each other, but > maybe they should? Anyway, should be easy to tweak configure to avoid > seeing 0.8. > > dan > > -- > Daniel Macks > [email protected] > http://www.netspace.org/~dmacks > I have tweaked configure to prevent finding the newest libgoffice. No rev up since gnucash 2.2.9 would not have ever successfully built with libgoffice 0.8. Works for me on 10.6 (with both libgoffice-0.6 and -0.8) present. Thanks Dan. Dave -- David Reiser [email protected] ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ fink-gnome-core mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.gnome