As others mentioned, libgnome/gnome-defs.h comes from gnome-libs-dev,
but don't bother about that : you can see in the command that -I/sw/include
comes before all other flags _ this is the cause of the problem _ , in partucular
before -I/sw/include/gal-2.0. Therefore it is /sw/include/gal/widgets/widget-color-combo.h
that gets _ wrongly _ included by body.c instead of
/sw/include/gal-2.0/gal/widgets/widget-color-combo.h
(Other errors too can occur because of this, depending on your configuration).
So, as a workaround till maintainers fix their -I flags, remove gal19 (or
probably just rename temporarily /sw/include/gal) before building gtkhtml3 _
you can reinstall after.
JF Mertens
On Mar 23, 2004, at 12:12 PM, Kurt De Vos wrote:
compiling gtkhtml3-3.0.10-9 fails with (see below).
I checked for libgnome/gnome-defs.h
Can anyone tell me which package provides libgnome/gnome-defs.h
i do have libgnome installed:
i libgnome2 2.4.0-3 The GNOME 2 library
i libgnome2-dev 2.4.0-3 The GNOME 2 library
i libgnome2-sh... 2.4.0-3 The GNOME 2 library
i libgnomecanvas2 2.4.0-3 The GNOME 2 canvas library
i libgnomecanv... 2.4.0-3 The GNOME 2 canvas library
i libgnomecanv... 2.4.0-3 The GNOME 2 canvas library
i libgnomecups 0.1.6-1 The GNOME cups library
libgnomecups... 0.1.6-1 The GNOME cups library
i libgnomecups... 0.1.6-1 The GNOME cups library
libgnomedb 1.0.3-3 Database Widget Library.
i libgnomedb-dev 1.0.3-3 Developer files for libgnomedb package
i libgnomedb-s... 1.0.3-3 Shared libraries for libgnomedb package
i libgnomeprin... 2.4.2-5 The GNOME printing library
i libgnomeprin... 2.4.2-5 The GNOME printing library
i libgnomeprin... 2.4.2-5 The GNOME printing library
i libgnomeprin... 2.4.2-4 The GNOME printing library
i libgnomeprin... 2.4.2-4 The GNOME printing library
i libgnomeprin... 2.4.2-4 The GNOME printing library
i libgnomeui2 2.4.0.1-4 The GNOME 2 UI Library
i libgnomeui2-dev 2.4.0.1-4 The GNOME 2 UI Library
i libgnomeui2-... 2.4.0.1-4 The GNOME 2 UI Library
kurt
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I. -I/sw/include -DORBIT2=1 -I/sw/include/libgnomeui-2.0 -I/sw/include/libgnome-2.0 -I/sw/include/libgnomecanvas-2.0 -I/sw/include/gtk-2.0 -I/sw/include/libart-2.0 -I/sw/include/gconf/2 -I/sw/include/libbonoboui-2.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/orbit-2.0 -I/sw/include/libbonobo-2.0 -I/sw/include/gnome-vfs-2.0 -I/sw/lib/gnome-vfs-2.0/include -I/sw/include/bonobo-activation-2.0 -I/sw/include/pango-1.0 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/libxml2 -I/sw/include -I/sw/include/libgnomeprint-2.2 -I/sw/include/libgnomeprintui-2.2 -I/sw/include/libglade-2.0 -I/sw/include/gal-2.0 -I/sw/include/soup-2.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -DG_LOG_DOMAIN=\"gtkhtml\" -DSRCDIR=\".\" -DPREFIX=\"/sw\" -no-cpp-precomp -I/sw/include -DORBIT2=1 -I/sw/include/libgnomeui-2.0 -I/sw/include/libgnome-2.0 -I/sw/include/libgnomecanvas-2.0 -I/sw/include/gtk-2.0 -I/sw/include/libart-2.0 -I/sw/include/gconf/2 -I/sw/include/libbonoboui-2.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/orbit-2.0 -I/sw/include/libbonobo-2.0 -I/sw/include/gnome-vfs-2.0 -I/sw/lib/gnome-vfs-2.0/include -I/sw/include/bonobo-activation-2.0 -I/sw/include/pango-1.0 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/libxml2 -I/sw/include -I/sw/include/libgnomeprint-2.2 -I/sw/include/libgnomeprintui-2.2 -I/sw/include/libglade-2.0 -I/sw/include/gal-2.0 -DICONDIR=\"/sw/share/gtkhtml-3.0/icons\" -DGTKHTML_DATADIR=\"/sw/share/gtkhtml-3.0\" -DGNOMELOCALEDIR=\"/sw/share/locale\" -DGLADE_DATADIR=\"/sw/share/gtkhtml-3.0\" -DPREFIX=\"/sw\" -DSYSCONFDIR=\"/sw/etc\" -DDATADIR=\"/sw/share\" -DLIBDIR=\"/sw/share\" -O3 -funroll-loops -fstrict-aliasing -c body.c -fno-common -DPIC -o .libs/body.o
In file included from body.c:26:
/sw/include/gal/widgets/widget-color-combo.h:35:33: libgnome/gnome-defs.h: No such file or directory
In file included from /sw/include/gal/widgets/widget-color-combo.h:37,
from body.c:26:
/sw/include/gal/widgets/color-palette.h:36:33: libgnome/gnome-defs.h: No such file or directory
In file included from /sw/include/gal/widgets/color-palette.h:38,
from /sw/include/gal/widgets/widget-color-combo.h:37,
from body.c:26:
/sw/include/gal/widgets/color-group.h:31:37: libgnomeui/gnome-canvas.h: No such file or directory
/sw/include/gal/widgets/color-group.h:32:33: libgnome/gnome-defs.h: No such file or directory
In file included from /sw/include/gal/widgets/color-palette.h:38,
from /sw/include/gal/widgets/widget-color-combo.h:37,
from body.c:26:
/sw/include/gal/widgets/color-group.h:37: error: syntax error before "typedef"
In file included from /sw/include/gal/widgets/widget-color-combo.h:37,
from body.c:26:
/sw/include/gal/widgets/color-palette.h:40: error: parse error before "BEGIN_GNOME_DECLS"
/sw/include/gal/widgets/color-palette.h:42: error: syntax error before "typedef"
/sw/include/gal/widgets/color-palette.h:51: error: parse error before "GnomeCanvasItem"
/sw/include/gal/widgets/color-palette.h:51: warning: no semicolon at end of struct or union
/sw/include/gal/widgets/color-palette.h:77: error: parse error before '}' token
/sw/include/gal/widgets/color-palette.h:77: warning: data definition has no type or storage class
/sw/include/gal/widgets/color-palette.h:83: error: parse error before '*' token
/sw/include/gal/widgets/color-palette.h:97: error: parse error before '*' token
/sw/include/gal/widgets/color-palette.h:100: error: parse error before '*' token
/sw/include/gal/widgets/color-palette.h:101: error: parse error before '*' token
/sw/include/gal/widgets/color-palette.h:102: error: parse error before '*' token
In file included from body.c:26:
/sw/include/gal/widgets/widget-color-combo.h:39: error: parse error before "BEGIN_GNOME_DECLS"
/sw/include/gal/widgets/widget-color-combo.h:41: error: syntax error before "typedef"
/sw/include/gal/widgets/widget-color-combo.h:48: error: parse error before "GnomeCanvas"
/sw/include/gal/widgets/widget-color-combo.h:48: warning: no semicolon at end of struct or union
/sw/include/gal/widgets/widget-color-combo.h:49: warning: data definition has no type or storage class
/sw/include/gal/widgets/widget-color-combo.h:50: error: parse error before '*' token
/sw/include/gal/widgets/widget-color-combo.h:50: warning: data definition has no type or storage class
/sw/include/gal/widgets/widget-color-combo.h:54: error: parse error before '}' token
/sw/include/gal/widgets/widget-color-combo.h:54: warning: data definition has no type or storage class
/sw/include/gal/widgets/widget-color-combo.h:60: error: parse error before '*' token
/sw/include/gal/widgets/widget-color-combo.h:74: error: parse error before '*' token
/sw/include/gal/widgets/widget-color-combo.h:76: error: parse error before '*' token
In file included from /sw/include/libgnomeprint-2.2/libgnomeprint/gnome-print.h:58,
from ../../src/gtkhtml-types.h:26,
from ../../src/htmlengine.h:30,
from ../../src/htmlengine-edit.h:27,
from body.c:27:
/sw/include/libgnomeprint-2.2/libgnomeprint/gnome-print-config.h:129: error: syntax error before "typedef"
body.c: In function `changed_template':
body.c:176: error: parse error before ')' token
body.c:176: error: parse error before ')' token
body.c:177: error: parse error before ')' token
body.c:177: error: parse error before ')' token
body.c:178: error: parse error before ')' token
body.c:178: error: parse error before ')' token
body.c:189: error: parse error before ')' token
body.c:189: error: parse error before ')' token
body.c:192: error: parse error before ')' token
body.c:192: error: parse error before ')' token
body.c:195: error: parse error before ')' token
body.c:195: error: parse error before ')' token
body.c: In function `body_properties':
body.c:327: error: parse error before ')' token
body.c:327: error: parse error before ')' token
body.c:328: error: parse error before ')' token
body.c:328: error: parse error before ')' token
body.c:329: error: parse error before ')' token
body.c:329: error: parse error before ')' token
make[3]: *** [body.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
### execution of glibtoolize failed, exit code 2
Failed: compiling gtkhtml3-3.0.10-9 failed
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
