
google-gadgets-for-linux - issue #387
google-gadgets-for-linux-read-only fails to build Ubuntu 11.10
What steps will reproduce the problem? 1. I'm using the svn source code. 2. I've followed the instructions from the wiki to build. 3. Ubuntu 11.10 32bit Intel Core2 Duo CPU P8600 @ 2.40GHz × 2 2GB ram
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../extensions/linux_system_framework -I../.. -I../.. -I../../.. -D__STDC_CONSTANT_MACROS -DNDEBUG -DGGL_MODULE_DIR=\"/usr/lib/google-gadgets/modules\" -DGGL_INCLUDE_DIR=\"/usr/include/google-gadgets\" -DGGL_SYSDEPS_INCLUDE_DIR=\"/usr/lib/google-gadgets/include\" -DGGL_LIBEXEC_DIR=\"/usr/lib/google-gadgets\" -DGGL_RESOURCE_DIR=\"/usr/share/google-gadgets\" -DGGL_HOST_LINUX=1 -DGGL_LITTLE_ENDIAN -DHAVE_PTHREAD=1 -DHAVE_X11=1 -DHAVE_DBUS_LIBRARY -DHAVE_RSVG_LIBRARY -DHAVE_STARTUP_NOTIFICATION -DHAVE_NETWORK_MANAGER -DHAVE_NEW_NETWORK_MANAGER_API -DHAVE_JAVA_SCRIPT_H -DGGL_GTK_WEBKIT_SUPPORT_JSC -DHAVE_MKDTEMP -DHAVE_MMAP "-DGGL_DIST_INFO=\"linux-i686 (Ubuntu 11.10) (-)\"" -DGGL_DEFAULT_GST_AUDIO_SINK=\"autoaudiosink\" -DGGL_DEFAULT_BROWSER_PLUGINS_DIR=\"yes\" -DGGL_ENABLE_XDGMIME -DGGL_GTK_HTML_SCRIPT_ENGINE=\"webkit\" -DGGL_GTK_XML_HTTP_REQUEST=\"soup\" -DGGL_QT_SCRIPT_ENGINE=\"smjs\" -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -I/usr/include/NetworkManager -O2 -Wall -fstack-protector -MT libggadget_linux_la-user.lo -MD -MP -MF .deps/libggadget_linux_la-user.Tpo -c ../../../extensions/linux_system_framework/user.cc -o libggadget_linux_la-user.o >/dev/null 2>&1 ../../../extensions/linux_system_framework/network.cc:29:36: error: 'DEVICE_TYPE_802_11_WIRELESS' was not declared in this scope ../../../extensions/linux_system_framework/network.cc:35:40: error: 'DEVICE_TYPE_802_3_ETHERNET' was not declared in this scope make[4]: * [libggadget_linux_la-network.lo] Error 1
Am I missing some pre-requisite?
Comment #1
Posted on Feb 4, 2012 by Helpful CatI get the same error message when compiling on Gentoo. The only way I am able to successfully compile is to disable dbus support (USE="-dbus")
Comment #2
Posted on Feb 7, 2012 by Swift LionI confirm this on Gentoo.
Comment #3
Posted on Mar 11, 2012 by Happy Kangarooyep, same on my Gentoo with gcc-4.5.3 (and 4.6.2), glibc-2.14.1-r2, kernel-3.2.9
Comment #4
Posted on Apr 26, 2012 by Happy RhinoHow do you disable dbus support?
Comment #5
Posted on May 6, 2012 by Massive RabbitGentoo +1 Alex, USE="-dbus" emerge google-gadgets
Comment #6
Posted on Jul 21, 2012 by Swift MonkeySame error on Ubuntu 12.04, and -dbus option isn't available both for .configure and make. Any idea?
Comment #7
Posted on Sep 25, 2012 by Massive Catreproduces in Fedora 16
Status: New