gtkhtml2



I dont know if this is the right place for this but im having trouble compiling libgtkhtml for Gnome2 Betas.... I get this error when I build it:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../libgtkhtml -I/usr/include -I
/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/in
clude/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/gli
b-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DG_LOG_DOMAIN=\"HtmlCs
s\" -O2 -mcpu=k6 -march=k6 -O2 -funroll-loops -ffast-math -c cssmatcher.c  -fPIC
 -DPIC -o .libs/cssmatcher.lo
In file included from /usr/include/gtk/gtkentry.h:32,
                 from /usr/include/gtk/gtkcolorsel.h:35,
                 from /usr/include/gtk/gtk.h:48,
                 from ../../libgtkhtml/graphics/htmlimagefactory.h:29,
                 from ../../libgtkhtml/layout/htmlstyle.h:30,
                 from ../../libgtkhtml/dom/core/dom-node.h:8,
                 from ../../libgtkhtml/dom/core/dom-element.h:6,
                 from cssmatcher.c:6:
/usr/include/gtk/gtkeditable.h:66: parse error before `GdkIC'
/usr/include/gtk/gtkeditable.h:66: warning: no semicolon at end of struct or uni
on
/usr/include/gtk/gtkeditable.h:67: warning: data definition has no type or stora
ge class
/usr/include/gtk/gtkeditable.h:70: parse error before `}'
In file included from /usr/include/gtk/gtkcolorsel.h:35,
                 from /usr/include/gtk/gtk.h:48,
                 from ../../libgtkhtml/graphics/htmlimagefactory.h:29,
                 from ../../libgtkhtml/layout/htmlstyle.h:30,
                 from ../../libgtkhtml/dom/core/dom-node.h:8,
                 from ../../libgtkhtml/dom/core/dom-element.h:6,
                 from cssmatcher.c:6:
/usr/include/gtk/gtkentry.h:52: field `editable' has incomplete type
In file included from /usr/include/gtk/gtk.h:119,
                 from ../../libgtkhtml/graphics/htmlimagefactory.h:29,
                 from ../../libgtkhtml/layout/htmlstyle.h:30,
                 from ../../libgtkhtml/dom/core/dom-node.h:8,
                 from ../../libgtkhtml/dom/core/dom-element.h:6,
                 from cssmatcher.c:6:
/usr/include/gtk/gtktext.h:65: field `editable' has incomplete type
make[3]: *** [cssmatcher.lo] Error 1
make[3]: Leaving directory `/usr/src/libgtkhtml-1.99.7/libgtkhtml/css'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/libgtkhtml-1.99.7/libgtkhtml'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/libgtkhtml-1.99.7'
make: *** [all-recursive-am] Error 2

I dont understand why its looking in gtk 1.2.10 and not gtk2 ... I cant seem to make it look for it any diffrent ... Any ideas on whats wrong?

Thanks
Nick Hudson



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