GNOME/Cairo support in build



Hello,

I am creating the goffice maintainer scripts for Fink (Debian package
management on OS X) and we are wanting to add goffice to the package
list! :-)

Unfortunately, goffice cannot be built with GNOME/Cairo support at this time
because of the following compile failure in graph/gog-renderer-cairo.c

It seems that an anonymous struct is missing a member! Is this a known problem?
Is it perhaps a compiler version issue (gcc-4.0.1 ships with OS X
10.4) or some dependency that the configure script does not check for?

If someone could please advise on a solution, that'd be great and then
we will have GNOME/Cairo support on Fink.

Builds OK without GNOME/Cairo support.

===========
gcc -DHAVE_CONFIG_H -I. -I. -I../../goffice -I../../goffice -I../.. -I../..
-DORBIT2=1 -I/usr/X11R6/include -I/sw/include/glib-2.0
-I/sw/lib/glib-2.0/include -I/sw/include/orbit-2.0
-I/sw/include/bonobo-activation-2.0 -I/sw/include/gconf/2
-I/sw/include/libbonobo-2.0 -I/sw/include/libxml2 -I/sw/include
-I/sw/include/gnome-vfs-2.0 -I/sw/include/gnome-vfs-module-2.0
-I/sw/lib/gnome-vfs-2.0/include -I/sw/include/libgsf-1 -I/sw/include/pango-1.0
-I/usr/X11R6/include/freetype2 -I/sw/include/gtk-2.0 -I/sw/include/atk-1.0
-I/sw/lib/gtk-2.0/include -I/sw/include/libart-2.0 -I/sw/include/libgnome-2.0
-I/sw/include/libgnomecanvas-2.0 -I/sw/include/gnome-keyring-1
-I/sw/include/libbonoboui-2.0 -I/sw/include/libgnomeui-2.0
-I/sw/include/libgnomeprint-2.2 -I/sw/include/libglade-2.0
-I/sw/include/libpng12 -I/sw/include/cairo -I/sw/include -g -O2 -Wall
-Wmissing-prototypes -Wsign-compare -Wpointer-arith -Wnested-externs
-Wchar-subscripts -Wwrite-strings -Wdeclaration-after-statement
-Wmissing-noreturn -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wmissing-format-attribute -Wno-pointer-sign -MT
gog-renderer-cairo.lo -MD -MP -MF .deps/gog-renderer-cairo.Tpo -c
gog-renderer-cairo.c  -fno-common -DPIC -o .libs/gog-renderer-cairo.o
gog-renderer-cairo.c: In function 'gog_renderer_cairo_clip_push':
gog-renderer-cairo.c:111: error: 'struct <anonymous>' has no member named
'area'
gog-renderer-cairo.c:112: error: 'struct <anonymous>' has no member named
'area'
gog-renderer-cairo.c:116: error: 'struct <anonymous>' has no member named
'area'
gog-renderer-cairo.c:116: error: 'struct <anonymous>' has no member named
'area'
gog-renderer-cairo.c:117: error: 'struct <anonymous>' has no member named
'area'
gog-renderer-cairo.c:117: error: 'struct <anonymous>' has no member named
'area'
gog-renderer-cairo.c: In function 'gog_renderer_cairo_class_init':
gog-renderer-cairo.c:613: error: 'struct <anonymous>' has no member named
'clip_push'
gog-renderer-cairo.c:614: error: 'struct <anonymous>' has no member named
'clip_pop'
===========



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]