Bryce Harrington wrote:
This is a critical step for being able to start doing pre-releases during the bugfix phase, so any help on getting make distcheck to pass will be very important.
Sorry I carelessly replaced the URL Bryce linked above. I guess that is ok, because my problem with distcheck changed. Now I getting the long strand of "What GTK?" type errors similar to those seen below. This error resulted from the changes Ralf made in revision 11886. It looks harmless enough to me, but now I can't even build autopackages.
http://svn.sourceforge.net/viewcvs.cgi/inkscape/inkscape/trunk/configure.ac?...
If we could get a couple people to run `make check` and `make distcheck` and start resolving or even just reporting the problems, that would be super.
Oh and has anybody else noticed this?
$ make clean $ svn up Restored 'po/inkscape.pot'
Shoule make clean remove a file stored in SVN? Rather should a generated file removed by make clean be stored in svn?
Aaron Spike
make[2]: Entering directory `/usr/local/src/inkscape/ap/src' if apg++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/freetype2 -I/usr/local/src/inkscape/extra/static//include/loudmouth-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -DPOTRACE="potrace" -I/usr/local/src/inkscape/extra/static/include/sigc++-2.0 -I/usr/local/src/inkscape/extra/static/lib/sigc++-2.0/include -I../cxxtest -I/usr/local/src/inkscape/extra/static/include -Wall -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -O2 -march=i586 -pipe -MT arc-context.o -MD -MP -MF ".deps/arc-context.Tpo" \ -c -o arc-context.o `test -f 'arc-context.cpp' || echo './'`arc-context.cpp; \ then mv -f ".deps/arc-context.Tpo" ".deps/arc-context.Po"; \ else rm -f ".deps/arc-context.Tpo"; exit 1; \ fi arc-context.cpp:21:28: error: gdk/gdkkeysyms.h: No such file or directory arc-context.cpp:24:25: error: glibmm/i18n.h: No such file or directory In file included from arc-context.cpp:25: display/sp-canvas.h:31:27: error: gdk/gdkevents.h: No such file or directory display/sp-canvas.h:32:23: error: gdk/gdkgc.h: No such file or directory display/sp-canvas.h:33:27: error: gtk/gtkobject.h: No such file or directory display/sp-canvas.h:34:27: error: gtk/gtkwidget.h: No such file or directory In file included from arc-context.cpp:27: document.h:19:27: error: gtk/gtksignal.h: No such file or directory document.h:29:28: error: glibmm/ustring.h: No such file or directory In file included from arc-context.cpp:39: desktop.h:24:30: error: gtk/gtktypeutils.h: No such file or directory In file included from desktop.h:29, from arc-context.cpp:39: ui/view/view.h:17:26: error: gdk/gdktypes.h: No such file or directory display/sp-canvas.h:66: error: expected class-name before ‘{’ token display/sp-canvas.h:78: error: expected class-name before ‘{’ token display/sp-canvas.h:84: error: ‘GdkEvent’ has not been declared display/sp-canvas.h:87: error: ‘GtkType’ has not been declared display/sp-canvas.h:97: error: ‘GdkCursor’ has not been declared display/sp-canvas.h:116: error: ‘GtkWidget’ does not name a type display/sp-canvas.h:149: error: ‘GdkEvent’ does not name a type display/sp-canvas.h:154: error: ISO C++ forbids declaration of ‘GdkGC’ with no type display/sp-canvas.h:154: error: expected ‘;’ before ‘*’ token display/sp-canvas.h:178: error: expected constructor, destructor, or type conversion before ‘*’ token document.h:102: error: ‘Glib’ has not been declared document.h:102: error: ‘ustring’ does not name a type document.h:186: error: ‘GtkObject’ has not been declared desktop.h:172: error: ‘GtkType’ has not been declared desktop.h:173: error: ‘GtkType’ has not been declared context-fns.h:14: error: ‘GdkEvent’ has not been declared event-context.h:55: error: ISO C++ forbids declaration of ‘GdkCursor’ with no type event-context.h:55: error: expected ‘;’ before ‘*’ token event-context.h:88: error: ‘GdkEvent’ has not been declared event-context.h:89: error: ‘GdkEvent’ has not been declared event-context.h:102: error: ‘GdkEvent’ has not been declared event-context.h:103: error: ‘GdkEvent’ has not been declared event-context.h:105: error: ‘GdkEvent’ has not been declared event-context.h:112: error: ‘GdkEvent’ has not been declared event-context.h:115: error: ‘GdkEventKey’ was not declared in this scope event-context.h:115: error: ‘event’ was not declared in this scope arc-context.h:48: error: ‘GtkType’ does not name a type arc-context.cpp:50: error: ‘GdkEvent’ has not been declared arc-context.cpp:51: error: ‘GdkEvent’ has not been declared arc-context.cpp:58: error: ‘GtkType’ does not name a type arc-context.cpp: In function ‘void sp_arc_context_dispose(GObject*)’: arc-context.cpp:116: error: ‘sp_arc_context_get_type’ was not declared in this scope arc-context.cpp:116: error: expected primary-expression before ‘)’ token arc-context.cpp:116: error: ‘GTK_CHECK_CAST’ was not declared in this scope arc-context.cpp: In function ‘void sp_arc_context_selection_changed(Inkscape::Selection*, void*)’: arc-context.cpp:158: error: ‘sp_arc_context_get_type’ was not declared in this scope arc-context.cpp:158: error: expected primary-expression before ‘)’ token arc-context.cpp:158: error: ‘GTK_CHECK_CAST’ was not declared in this scope arc-context.cpp: In function ‘void sp_arc_context_setup(SPEventContext*)’: arc-context.cpp:186: error: ‘sp_arc_context_get_type’ was not declared in this scope arc-context.cpp:186: error: expected primary-expression before ‘)’ token arc-context.cpp:186: error: ‘GTK_CHECK_CAST’ was not declared in this scope arc-context.cpp: At global scope: arc-context.cpp:221: error: ‘GdkEvent’ has not been declared arc-context.cpp: In function ‘gint sp_arc_context_item_handler(SPEventContext*, SPItem*, int*)’: arc-context.cpp:226: error: request for member ‘type’ in ‘* event’, which is of non-class type ‘int’ arc-context.cpp:227: error: ‘GDK_BUTTON_PRESS’ was not declared in this scope arc-context.cpp:228: error: request for member ‘button’ in ‘* event’, which is of non-class type ‘int’ arc-context.cpp: At global scope: arc-context.cpp:245: error: ‘GdkEvent’ has not been declared arc-context.cpp: In function ‘gint sp_arc_context_root_handler(SPEventContext*, int*)’: arc-context.cpp:251: error: ‘sp_arc_context_get_type’ was not declared in this scope arc-context.cpp:251: error: expected primary-expression before ‘)’ token arc-context.cpp:251: error: ‘GTK_CHECK_CAST’ was not declared in this scope arc-context.cpp:257: error: request for member ‘type’ in ‘* event’, which is of non-class type ‘int’ arc-context.cpp:258: error: ‘GDK_BUTTON_PRESS’ was not declared in this scope arc-context.cpp:259: error: request for member ‘button’ in ‘* event’, which is of non-class type ‘int’ arc-context.cpp:266: error: expected primary-expression before ‘)’ token arc-context.cpp:267: error: ‘GDK_KEY_PRESS_MASK’ was not declared in this scope arc-context.cpp:267: error: ‘GDK_BUTTON_RELEASE_MASK’ was not declared in this scope arc-context.cpp:268: error: ‘GDK_POINTER_MOTION_MASK’ was not declared in this scope arc-context.cpp:268: error: ‘GDK_BUTTON_PRESS_MASK’ was not declared in this scope arc-context.cpp:269: error: request for member ‘button’ in ‘* event’, which is of non-class type ‘int’ arc-context.cpp:273: error: ‘GDK_MOTION_NOTIFY’ was not declared in this scope arc-context.cpp:274: error: request for member ‘motion’ in ‘* event’, which is of non-class type ‘int’ arc-context.cpp:274: error: ‘GDK_BUTTON1_MASK’ was not declared in this scope arc-context.cpp:277: error: request for member ‘motion’ in ‘* event’, which is of non-class type ‘int’ arc-context.cpp:278: error: request for member ‘motion’ in ‘* event’, which is of non-class type ‘int’ arc-context.cpp:286: error: request for member ‘motion’ in ‘* event’, which is of non-class type ‘int’ arc-context.cpp:286: error: request for member ‘motion’ in ‘* event’, which is of non-class type ‘int’ arc-context.cpp:288: error: request for member ‘motion’ in ‘* event’, which is of non-class type ‘int’ arc-context.cpp:292: error: ‘GDK_BUTTON_RELEASE’ was not declared in this scope arc-context.cpp:294: error: request for member ‘button’ in ‘* event’, which is of non-class type ‘int’ arc-context.cpp:301: error: request for member ‘button’ in ‘* event’, which is of non-class type ‘int’ arc-context.cpp:301: error: ‘GDK_SHIFT_MASK’ was not declared in this scope arc-context.cpp:315: error: expected primary-expression before ‘)’ token arc-context.cpp:315: error: request for member ‘button’ in ‘* event’, which is of non-class type ‘int’ arc-context.cpp:317: error: ‘GDK_KEY_PRESS’ was not declared in this scope arc-context.cpp:318: error: request for member ‘key’ in ‘* event’, which is of non-class type ‘int’ arc-context.cpp:318: error: ‘get_group0_keyval’ cannot be used as a function arc-context.cpp:319: error: ‘GDK_Alt_L’ was not declared in this scope arc-context.cpp:320: error: ‘GDK_Alt_R’ was not declared in this scope arc-context.cpp:321: error: ‘GDK_Control_L’ was not declared in this scope arc-context.cpp:322: error: ‘GDK_Control_R’ was not declared in this scope arc-context.cpp:323: error: ‘GDK_Shift_L’ was not declared in this scope arc-context.cpp:324: error: ‘GDK_Shift_R’ was not declared in this scope arc-context.cpp:325: error: ‘GDK_Meta_L’ was not declared in this scope arc-context.cpp:326: error: ‘GDK_Meta_R’ was not declared in this scope arc-context.cpp:328: error: ‘_’ was not declared in this scope arc-context.cpp:332: error: ‘GDK_Up’ was not declared in this scope arc-context.cpp:333: error: ‘GDK_Down’ was not declared in this scope arc-context.cpp:334: error: ‘GDK_KP_Up’ was not declared in this scope arc-context.cpp:335: error: ‘GDK_KP_Down’ was not declared in this scope arc-context.cpp:337: error: request for member ‘key’ in ‘* event’, which is of non-class type ‘int’ arc-context.cpp:337: error: ‘GDK_SHIFT_MASK’ was not declared in this scope arc-context.cpp:337: error: request for member ‘key’ in ‘* event’, which is of non-class type ‘int’ arc-context.cpp:337: error: ‘GDK_CONTROL_MASK’ was not declared in this scope arc-context.cpp:337: error: request for member ‘key’ in ‘* event’, which is of non-class type ‘int’ arc-context.cpp:337: error: ‘GDK_MOD1_MASK’ was not declared in this scope arc-context.cpp:340: error: ‘GDK_x’ was not declared in this scope arc-context.cpp:341: error: ‘GDK_X’ was not declared in this scope arc-context.cpp:342: error: request for member ‘key’ in ‘* event’, which is of non-class type ‘int’ arc-context.cpp:342: error: ‘GDK_SHIFT_MASK’ was not declared in this scope arc-context.cpp:342: error: request for member ‘key’ in ‘* event’, which is of non-class type ‘int’ arc-context.cpp:342: error: ‘GDK_CONTROL_MASK’ was not declared in this scope arc-context.cpp:342: error: request for member ‘key’ in ‘* event’, which is of non-class type ‘int’ arc-context.cpp:342: error: ‘GDK_MOD1_MASK’ was not declared in this scope arc-context.cpp:347: error: ‘GDK_Escape’ was not declared in this scope arc-context.cpp:354: error: ‘GDK_KEY_RELEASE’ was not declared in this scope arc-context.cpp:355: error: request for member ‘key’ in ‘* event’, which is of non-class type ‘int’ arc-context.cpp:356: error: ‘GDK_Alt_L’ was not declared in this scope arc-context.cpp:357: error: ‘GDK_Alt_R’ was not declared in this scope arc-context.cpp:358: error: ‘GDK_Control_L’ was not declared in this scope arc-context.cpp:359: error: ‘GDK_Control_R’ was not declared in this scope arc-context.cpp:360: error: ‘GDK_Shift_L’ was not declared in this scope arc-context.cpp:361: error: ‘GDK_Shift_R’ was not declared in this scope arc-context.cpp:362: error: ‘GDK_Meta_L’ was not declared in this scope arc-context.cpp:363: error: ‘GDK_Meta_R’ was not declared in this scope arc-context.cpp: In function ‘void sp_arc_drag(SPArcContext*, NR::Point, guint)’: arc-context.cpp:414: error: ‘_’ was not declared in this scope arc-context.cpp: At global scope: arc-context.cpp:77: warning: ‘void sp_arc_context_class_init(SPArcContextClass*)’ defined but not used arc-context.cpp:92: warning: ‘void sp_arc_context_init(SPArcContext*)’ defined but not used make[2]: *** [arc-context.o] Error 1 make[2]: Leaving directory `/usr/local/src/inkscape/ap/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/inkscape/ap' make: *** [all] Error 2