When i try to compile xfce-4.6.0 graphical installer on Mandriva 2007.1 workstation i got the following error: gmake[4]: Entering directory `/root/tmp/xfce4-4.6-installer/xfce4-settings/dialogs/mouse-settings' gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -DDATADIR=\"/usr/local/xfce-4.6/share\" -DSRCDIR=\"../..\" -DLOCALEDIR=\"/usr/local/xfce-4.6/share/locale\" -DG_LOG_DOMAIN=\"xfce4-mouse-settings\" -DNDEBUG -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -I/usr/local/xfce-4.6/include -I/usr/include -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/local/xfce-4.6/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -I/usr/local/xfce-4.6/include/xfce4/xfconf-0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/xfce-4.6/include/xfce4/xfconf-0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/xfce-4.6/include -I/usr/include -I/usr/include -O2 -pipe -MT xfce4_mouse_settings-main.o -MD -MP -MF .deps/xfce4_mouse_settings-main.Tpo -c -o xfce4_mouse_settings-main.o `test -f 'main.c' || echo './'`main.c LC_ALL=C /usr/bin/intltool-merge -d -u -c ../../po/.intltool-merge-cache ../../po xfce-mouse-settings.desktop.in xfce-mouse-settings.desktop Found cached translation database Merging translations into xfce-mouse-settings.desktop. main.c: In function 'mouse_settings_event_filter': main.c:1128: error: 'DeviceAdded' undeclared (first use in this function) main.c:1128: error: (Each undeclared identifier is reported only once main.c:1128: error: for each function it appears in.) main.c:1129: error: 'DeviceRemoved' undeclared (first use in this function) gmake[4]: Leaving directory `/root/tmp/xfce4-4.6-installer/xfce4-settings/dialogs/mouse-settings' gmake[3]: Leaving directory `/root/tmp/xfce4-4.6-installer/xfce4-settings/dialogs/mouse-settings' gmake[2]: Leaving directory `/root/tmp/xfce4-4.6-installer/xfce4-settings/dialogs' gmake[1]: Leaving directory `/root/tmp/xfce4-4.6-installer/xfce4-settings' !! Failed to build xfce4-settings, see the errors above !! for details on the problem. (installer-gui:21407): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed I found out that there are some people who has the same bug but there isn't solution of it.
What is your version of inputproto?
(In reply to comment #1) > What is your version of inputproto? Name: InputProto Description: Input extension headers Version: 1.4.1
DeviceAdded and DeviceRemoved were added in 1.4.2, not in 1.4 together with XI_Add_DevicePresenceNotify_Major. Will update the following check in the code: #if XI_Add_DevicePresenceNotify_Major >= 1 && defined (DeviceRemoved)
(In reply to comment #3) > DeviceAdded and DeviceRemoved were added in 1.4.2, not in 1.4 together with > XI_Add_DevicePresenceNotify_Major. Will update the following check in the code: > > #if XI_Add_DevicePresenceNotify_Major >= 1 && defined (DeviceRemoved) It helped. Thank you.
Fixed in revision 29649.