GoogleCodeArchive / 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

Can not install google gadgets on Ubuntu 11.04 with Gnome3 #381

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. sudo make install
2.
3.

What is the expected output? 
A working gadgets binary

What do you see instead?
make Error.. Tried xulrunner 2.0. Different error but would not work either.

What version of the product are you using? 
svn downloaded today

On what operating system?
Ubuntu 11.04 with gnome3 installed

Please provide any additional information below.

cc1plus: warnings being treated as errors
In file included from /usr/include/xulrunner-1.9.2.17/jsinterp.h:48:0,
                 from /usr/include/xulrunner-1.9.2.17/jscntxt.h:53,
                 from ../../../extensions/smjs_script_runtime/converter.cc:20:
/usr/include/xulrunner-1.9.2.17/jsfun.h: In function ‘js_ArgsPrivateNative* 
js_GetArgsPrivateNative(JSObject*)’:
/usr/include/xulrunner-1.9.2.17/jsfun.h:233:55: error: converting to 
non-pointer type ‘unsigned int’ from NULL
libtool: compile:  g++ -DHAVE_CONFIG_H -I. 
-I../../../extensions/smjs_script_runtime -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_DBUS_WATCH_GET_UNIX_FD -DHAVE_RSVG_LIBRARY -DHAVE_STARTUP_NOTIFICATION 
-DHAVE_NETWORK_MANAGER -DHAVE_NEW_NETWORK_MANAGER_API -DHAVE_MKDTEMP 
-DHAVE_MMAP "-DGGL_DIST_INFO=\"linux-i686 (Ubuntu 11.04) (-)\"" 
-DGGL_DEFAULT_GST_AUDIO_SINK=\"autoaudiosink\" 
-DGGL_DEFAULT_BROWSER_PLUGINS_DIR=\"/usr\" -DGGL_ENABLE_XDGMIME 
-DGGL_GTK_HTML_SCRIPT_ENGINE=\"xulrunner\" -DGGL_GTK_XML_HTTP_REQUEST=\"curl\" 
-DGGL_QT_SCRIPT_ENGINE=\"smjs\" -DXP_UNIX -DJS_THREADSAFE 
-I/usr/include/xulrunner-1.9.2.17 -I/usr/include/xulrunner-1.9.2.17/nspr 
-I/usr/include/nspr -DHAVE_JSVERSION_H -DMOZILLA_1_8_BRANCH 
-DHAVE_JS_SetOperationCallback -DHAVE_JS_TriggerAllOperationCallbacks 
-DXPCOM_GLUE -fshort-wchar -I/usr/include/xulrunner-1.9.2.17 
-I/usr/include/xulrunner-1.9.2.17/nspr -I/usr/include/xulrunner-1.9.2.17 
-I/usr/include/xulrunner-1.9.2.17/content -I/usr/include/xulrunner-1.9.2.17/dom 
-I/usr/include/xulrunner-1.9.2.17/xpconnect 
-I/usr/include/xulrunner-1.9.2.17/widget 
-I/usr/include/xulrunner-1.9.2.17/gtkembedmoz 
-I/usr/include/xulrunner-1.9.2.17/xpcom 
-I/usr/include/xulrunner-1.9.2.17/string 
-DMOZILLA_FIVE_HOME=\"/usr/lib/xulrunner-1.9.2.17\" 
-DGGL_MOZJS_LIBNAME=\"libmozjs.so\" -O2 -Wall -fstack-protector -Werror -MT 
smjs_script_runtime_la-smjs_script_runtime.lo -MD -MP -MF 
.deps/smjs_script_runtime_la-smjs_script_runtime.Tpo -c 
../../../extensions/smjs_script_runtime/smjs_script_runtime.cc -o 
smjs_script_runtime_la-smjs_script_runtime.o >/dev/null 2>&1
make[4]: *** [libggadget_smjs_la-converter.lo] Error 1
make[4]: *** Waiting for unfinished jobs....

Original issue reported on code.google.com by stwrtwal...@gmail.com on 4 May 2011 at 4:15

GoogleCodeExporter commented 9 years ago
here is the error when using xulrunner 2.0.

http_request_la-qt_xml_http_request.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. 
-I../../../extensions/qt_xml_http_request -I../.. -I../.. -I../../.. 
-DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore 
-I/usr/include/qt4/QtNetwork -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_DBUS_WATCH_GET_UNIX_FD -DHAVE_RSVG_LIBRARY -DHAVE_STARTUP_NOTIFICATION 
-DHAVE_NETWORK_MANAGER -DHAVE_NEW_NETWORK_MANAGER_API -DHAVE_MKDTEMP 
-DHAVE_MMAP "-DGGL_DIST_INFO=\"linux-i686 (Ubuntu 11.04) (-)\"" 
-DGGL_DEFAULT_GST_AUDIO_SINK=\"autoaudiosink\" 
-DGGL_DEFAULT_BROWSER_PLUGINS_DIR=\"/usr\" -DGGL_ENABLE_XDGMIME 
-DGGL_GTK_HTML_SCRIPT_ENGINE=\"xulrunner\" -DGGL_GTK_XML_HTTP_REQUEST=\"curl\" 
-DGGL_QT_SCRIPT_ENGINE=\"smjs\" -O2 -Wall -fstack-protector -Werror -MT 
qt_xml_http_request_la-qt_xml_http_request.lo -MD -MP -MF 
.deps/qt_xml_http_request_la-qt_xml_http_request.Tpo -c 
../../../extensions/qt_xml_http_request/qt_xml_http_request.cc -o 
qt_xml_http_request_la-qt_xml_http_request.o >/dev/null 2>&1
mv -f .deps/qt_xml_http_request_la-qt_xml_http_request.Tpo 
.deps/qt_xml_http_request_la-qt_xml_http_request.Plo
/bin/bash ../../libtool --tag=CXX   --mode=link g++ -O2 -Wall -fstack-protector 
-Werror  -no-undefined -avoid-version -module  -o qt-xml-http-request.la -rpath 
/usr/lib/google-gadgets/modules qt_xml_http_request_la-qt_xml_http_request.lo  
-lQtNetwork -lQtCore   ../../ggadget/libggadget-1.0.la 
libtool: link: g++ -shared -nostdlib 
/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/../../../crti.o 
/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/crtbeginS.o  
.libs/qt_xml_http_request_la-qt_xml_http_request.o   -Wl,-rpath 
-Wl,/home/jodie/Downloads/google-gadgets-for-linux-read-only/build/ggadget/.libs
 -lQtNetwork -lQtCore ../../ggadget/.libs/libggadget-1.0.so 
-L/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2 
-L/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/../../.. 
-L/usr/lib/i386-linux-gnu -lstdc++ -lm -lc -lgcc_s 
/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/crtendS.o 
/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/../../../crtn.o    -Wl,-soname 
-Wl,qt-xml-http-request.so -o .libs/qt-xml-http-request.so
libtool: link: ar cru .libs/qt-xml-http-request.a  
qt_xml_http_request_la-qt_xml_http_request.o
libtool: link: ranlib .libs/qt-xml-http-request.a
libtool: link: ( cd ".libs" && rm -f "qt-xml-http-request.la" && ln -s 
"../qt-xml-http-request.la" "qt-xml-http-request.la" )
make[4]: Leaving directory 
`/home/jodie/Downloads/google-gadgets-for-linux-read-only/build/extensions/qt_xm
l_http_request'
make[3]: Leaving directory 
`/home/jodie/Downloads/google-gadgets-for-linux-read-only/build/extensions/qt_xm
l_http_request'
Making all in gtkmoz_browser_element
make[3]: Entering directory 
`/home/jodie/Downloads/google-gadgets-for-linux-read-only/build/extensions/gtkmo
z_browser_element'
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I../../../extensions/gtkmoz_browser_element -I../.. -I../.. -I../../.. 
-pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include 
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pango-1.0 
-I/usr/include/atk-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo 
-I/usr/include/pixman-1 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include 
-I/usr/include/gdk-pixbuf-2.0   -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_DBUS_WATCH_GET_UNIX_FD -DHAVE_RSVG_LIBRARY -DHAVE_STARTUP_NOTIFICATION 
-DHAVE_NETWORK_MANAGER -DHAVE_NEW_NETWORK_MANAGER_API -DHAVE_MKDTEMP 
-DHAVE_MMAP "-DGGL_DIST_INFO=\"linux-i686 (Ubuntu 11.04) (-)\""                 
     -DGGL_DEFAULT_GST_AUDIO_SINK=\"autoaudiosink\"                      
-DGGL_DEFAULT_BROWSER_PLUGINS_DIR=\"/usr\" -DGGL_ENABLE_XDGMIME 
-DGGL_GTK_HTML_SCRIPT_ENGINE=\"xulrunner\" -DGGL_GTK_XML_HTTP_REQUEST=\"curl\" 
-DGGL_QT_SCRIPT_ENGINE=\"smjs\"  -O2 -Wall -fstack-protector -Werror  -MT 
gtkmoz_browser_element_la-browser_element.lo -MD -MP -MF 
.deps/gtkmoz_browser_element_la-browser_element.Tpo -c -o 
gtkmoz_browser_element_la-browser_element.lo `test -f 'browser_element.cc' || 
echo '../../../extensions/gtkmoz_browser_element/'`browser_element.cc
g++ -DHAVE_CONFIG_H -I. -I../../../extensions/gtkmoz_browser_element -I../.. 
-I../.. -I../../.. -pthread -I/usr/include/glib-2.0 
-I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/freetype2 
-I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 
-I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pixman-1 
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 
  -DXPCOM_GLUE -fshort-wchar -I/usr/include/xulrunner-2.0 
-I/usr/include/xulrunner-2.0/nspr   -I/usr/include/xulrunner-2.0 
-I/usr/include/xulrunner-2.0/content -I/usr/include/xulrunner-2.0/dom 
-I/usr/include/xulrunner-2.0/xpconnect -I/usr/include/xulrunner-2.0/widget 
-I/usr/include/xulrunner-2.0/gtkembedmoz -I/usr/include/xulrunner-2.0/xpcom 
-I/usr/include/xulrunner-2.0/string 
-DMOZILLA_FIVE_HOME=\"/usr/lib/xulrunner-2.0\" -DXP_UNIX -DJS_THREADSAFE 
-I/usr/include/xulrunner-2.0 -I/usr/include/nspr   -DHAVE_JSVERSION_H 
-DHAVE_JS_SetOperationCallback -DHAVE_JS_TriggerAllOperationCallbacks 
-DXPCOM_GLUE -fshort-wchar -I/usr/include/xulrunner-2.0 
-I/usr/include/xulrunner-2.0/nspr   -I/usr/include/xulrunner-2.0 
-I/usr/include/xulrunner-2.0/content -I/usr/include/xulrunner-2.0/dom 
-I/usr/include/xulrunner-2.0/xpconnect -I/usr/include/xulrunner-2.0/widget 
-I/usr/include/xulrunner-2.0/gtkembedmoz -I/usr/include/xulrunner-2.0/xpcom 
-I/usr/include/xulrunner-2.0/string 
-DMOZILLA_FIVE_HOME=\"/usr/lib/xulrunner-2.0\" 
-DGGL_MOZJS_LIBNAME=\"libmozjs.so\" -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_DBUS_WATCH_GET_UNIX_FD -DHAVE_RSVG_LIBRARY -DHAVE_STARTUP_NOTIFICATION 
-DHAVE_NETWORK_MANAGER -DHAVE_NEW_NETWORK_MANAGER_API -DHAVE_MKDTEMP 
-DHAVE_MMAP "-DGGL_DIST_INFO=\"linux-i686 (Ubuntu 11.04) (-)\""                 
     -DGGL_DEFAULT_GST_AUDIO_SINK=\"autoaudiosink\"                      
-DGGL_DEFAULT_BROWSER_PLUGINS_DIR=\"/usr\" -DGGL_ENABLE_XDGMIME 
-DGGL_GTK_HTML_SCRIPT_ENGINE=\"xulrunner\" -DGGL_GTK_XML_HTTP_REQUEST=\"curl\" 
-DGGL_QT_SCRIPT_ENGINE=\"smjs\"  -O2 -Wall -fstack-protector -Werror 
-Wno-non-virtual-dtor -fno-strict-aliasing  -MT 
gtkmoz_browser_child-browser_child.o -MD -MP -MF 
.deps/gtkmoz_browser_child-browser_child.Tpo -c -o 
gtkmoz_browser_child-browser_child.o `test -f 'browser_child.cc' || echo 
'../../../extensions/gtkmoz_browser_element/'`browser_child.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. 
-I../../../extensions/gtkmoz_browser_element -I../.. -I../.. -I../../.. 
-pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include 
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pango-1.0 
-I/usr/include/atk-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo 
-I/usr/include/pixman-1 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include 
-I/usr/include/gdk-pixbuf-2.0 -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_DBUS_WATCH_GET_UNIX_FD -DHAVE_RSVG_LIBRARY -DHAVE_STARTUP_NOTIFICATION 
-DHAVE_NETWORK_MANAGER -DHAVE_NEW_NETWORK_MANAGER_API -DHAVE_MKDTEMP 
-DHAVE_MMAP "-DGGL_DIST_INFO=\"linux-i686 (Ubuntu 11.04) (-)\"" 
-DGGL_DEFAULT_GST_AUDIO_SINK=\"autoaudiosink\" 
-DGGL_DEFAULT_BROWSER_PLUGINS_DIR=\"/usr\" -DGGL_ENABLE_XDGMIME 
-DGGL_GTK_HTML_SCRIPT_ENGINE=\"xulrunner\" -DGGL_GTK_XML_HTTP_REQUEST=\"curl\" 
-DGGL_QT_SCRIPT_ENGINE=\"smjs\" -O2 -Wall -fstack-protector -Werror -MT 
gtkmoz_browser_element_la-browser_element.lo -MD -MP -MF 
.deps/gtkmoz_browser_element_la-browser_element.Tpo -c 
../../../extensions/gtkmoz_browser_element/browser_element.cc  -fPIC -DPIC -o 
.libs/gtkmoz_browser_element_la-browser_element.o
cc1plus: warnings being treated as errors
In file included from 
../../../extensions/gtkmoz_browser_element/browser_child.cc:34:0:
../../../extensions/gtkmoz_browser_element/../smjs_script_runtime/libmozjs_glue.
h:276:0: error: "JS_EnterLocalRootScope" redefined
/usr/include/xulrunner-2.0/jsapi.h:1483:0: note: this is the location of the 
previous definition
../../../extensions/gtkmoz_browser_element/../smjs_script_runtime/libmozjs_glue.
h:304:0: error: "JS_LeaveLocalRootScope" redefined
/usr/include/xulrunner-2.0/jsapi.h:1484:0: note: this is the location of the 
previous definition
../../../extensions/gtkmoz_browser_element/browser_child.cc:65:31: fatal error: 
nsIGenericFactory.h: No such file or directory
compilation terminated.
make[3]: *** [gtkmoz_browser_child-browser_child.o] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: compile:  g++ -DHAVE_CONFIG_H -I. 
-I../../../extensions/gtkmoz_browser_element -I../.. -I../.. -I../../.. 
-pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include 
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pango-1.0 
-I/usr/include/atk-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo 
-I/usr/include/pixman-1 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include 
-I/usr/include/gdk-pixbuf-2.0 -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_DBUS_WATCH_GET_UNIX_FD -DHAVE_RSVG_LIBRARY -DHAVE_STARTUP_NOTIFICATION 
-DHAVE_NETWORK_MANAGER -DHAVE_NEW_NETWORK_MANAGER_API -DHAVE_MKDTEMP 
-DHAVE_MMAP "-DGGL_DIST_INFO=\"linux-i686 (Ubuntu 11.04) (-)\"" 
-DGGL_DEFAULT_GST_AUDIO_SINK=\"autoaudiosink\" 
-DGGL_DEFAULT_BROWSER_PLUGINS_DIR=\"/usr\" -DGGL_ENABLE_XDGMIME 
-DGGL_GTK_HTML_SCRIPT_ENGINE=\"xulrunner\" -DGGL_GTK_XML_HTTP_REQUEST=\"curl\" 
-DGGL_QT_SCRIPT_ENGINE=\"smjs\" -O2 -Wall -fstack-protector -Werror -MT 
gtkmoz_browser_element_la-browser_element.lo -MD -MP -MF 
.deps/gtkmoz_browser_element_la-browser_element.Tpo -c 
../../../extensions/gtkmoz_browser_element/browser_element.cc -o 
gtkmoz_browser_element_la-browser_element.o >/dev/null 2>&1
mv -f .deps/gtkmoz_browser_element_la-browser_element.Tpo 
.deps/gtkmoz_browser_element_la-browser_element.Plo
make[3]: Leaving directory 
`/home/jodie/Downloads/google-gadgets-for-linux-read-only/build/extensions/gtkmo
z_browser_element'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/jodie/Downloads/google-gadgets-for-linux-read-only/build/extensions'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/home/jodie/Downloads/google-gadgets-for-linux-read-only/build'
make: *** [all] Error 2
jodie@sharkie:~/Downloads/google-gadgets-for-linux-read-only/build$ 

Original comment by stwrtwal...@gmail.com on 4 May 2011 at 7:04

GoogleCodeExporter commented 9 years ago
Has any one had a chance to take a peek at this and see if there is anything 
that can be done to fix it issue(s). Thanks.

Original comment by stwrtwal...@gmail.com on 14 May 2011 at 11:13