ericmckean / google-gadgets-for-linux

Automatically exported from code.google.com/p/google-gadgets-for-linux
Apache License 2.0
0 stars 0 forks source link

google-gadgets-for-linux-read-only fails to build Ubuntu 11.10 #387

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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? 

Original issue reported on code.google.com by pedro.si...@gmail.com on 20 Dec 2011 at 3:50

GoogleCodeExporter commented 9 years ago
I 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")

Original comment by fTn...@gmail.com on 4 Feb 2012 at 3:26

GoogleCodeExporter commented 9 years ago
I confirm this on Gentoo.

Original comment by de.tec...@gmail.com on 7 Feb 2012 at 6:23

GoogleCodeExporter commented 9 years ago
yep, same on my Gentoo with gcc-4.5.3 (and 4.6.2), glibc-2.14.1-r2, kernel-3.2.9

Original comment by virtuous...@gmail.com on 11 Mar 2012 at 6:05

GoogleCodeExporter commented 9 years ago
How do you disable dbus support?

Original comment by alex.ioa...@gmail.com on 26 Apr 2012 at 1:23

GoogleCodeExporter commented 9 years ago
 Gentoo +1
Alex, USE="-dbus" emerge google-gadgets

Original comment by d3mid...@gmail.com on 6 May 2012 at 6:34

GoogleCodeExporter commented 9 years ago
Same error on Ubuntu 12.04, and -dbus option isn't available both for 
.configure and make. Any idea?

Original comment by gm130s on 21 Jul 2012 at 10:13

GoogleCodeExporter commented 9 years ago
reproduces in Fedora 16

Original comment by habibu...@gmail.com on 25 Sep 2012 at 12:01