难道是因为我RPWT?skyx 写了:把几个都带上,十来兆的内存占用,天气预报感觉很准,也很有风格,那盆花没什么用,那个钟为了好看.........yysq009 写了:用过没 LZ 。 感觉 很吃 资源!
6月下旬的时候,看那个上面都是大太阳,心里蛮开心的。哪知道,第二天就开始下暴雨...
zhuqin_83 写了:新问题来了:
$ ggl-gtk
Failed to open zip file /usr/share/google-gadgets/resources.gg: 没有那个文件或目录
Not a regular file: /usr/share/google-gadgets/resources
Not a regular file: /
org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
No slot registered to handle this reply.
No slot registered to handle this reply.
Demarshal failed. Type dismatch, message type:
Failed to load module smjs-script-runtime
Not a regular file: /usr/share/google-gadgets/analog_clock
Not a regular file: /usr/share/google-gadgets/digital_alarm_clock
Not a regular file: /usr/share/google-gadgets/rss
No slot registered to handle this reply.
No slot registered to handle this reply.
zhuqin_83 写了:pkgbuild:代码: 全选
pkgname=google-gadgets-gtk-svn pkgver=713 pkgrel=1 pkgdesc="Google Gadgets for linux (svn version, gtk toolkit)" url="http://code.google.com/p/google-gadgets-for-linux/" license="Apache" depends=('curl' 'libxml2' 'zlib' 'xulrunner' 'dbus' 'cairo' 'gtk2') makedepends=('subversion' 'autoconf' 'automake' 'libtool' 'flex') conflicts=() provides=() source=() md5sums=() arch=('i686' 'x86_64') options=('!libtool') _svntrunk=http://google-gadgets-for-linux.googlecode.com/svn/trunk/ _svnmod=google-gadgets build() { cd $srcdir if [ -d $_svnmod/.svn ]; then (cd $_svnmod && svn up -r $pkgver) else svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod fi cp -r ${_svnmod} ${_svnmod}-build cd ${_svnmod}-build sh autotools/bootstrap.sh ./configure --prefix=/usr \ --disable-libggadget-qt \ --disable-qt-system-framework \ --disable-qtwebkit-browser-element \ --disable-qt-host \ --disable-ltdl-install \ --disable-static make || return 1 make DESTDIR=$pkgdir install || return 1 rm -f $pkgdir/usr/share/applications/mimeinfo.cache rm -f $pkgdir/usr/share/mime/{XMLnamespaces,aliases,globs,magic,mime.cache,subclasses} rm -rf $srcdir/$_svnmod-build }
这个问题有解么?目前看来就这个了。suzhe 写了:没有安装?
zhuqin_83 写了:新问题来了:
$ ggl-gtk
Failed to open zip file /usr/share/google-gadgets/resources.gg: 没有那个文件或目录
Not a regular file: /usr/share/google-gadgets/resources
Not a regular file: /
org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
No slot registered to handle this reply.
No slot registered to handle this reply.
Demarshal failed. Type dismatch, message type:
Failed to load module smjs-script-runtime
Not a regular file: /usr/share/google-gadgets/analog_clock
Not a regular file: /usr/share/google-gadgets/digital_alarm_clock
Not a regular file: /usr/share/google-gadgets/rss
No slot registered to handle this reply.
No slot registered to handle this reply.
zhuqin_83 写了:这个问题有解么?目前看来就这个了。suzhe 写了:没有安装?
zhuqin_83 写了:新问题来了:
$ ggl-gtk
Failed to open zip file /usr/share/google-gadgets/resources.gg: 没有那个文件或目录
Not a regular file: /usr/share/google-gadgets/resources
Not a regular file: /
org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
No slot registered to handle this reply.
No slot registered to handle this reply.
Demarshal failed. Type dismatch, message type:
Failed to load module smjs-script-runtime
Not a regular file: /usr/share/google-gadgets/analog_clock
Not a regular file: /usr/share/google-gadgets/digital_alarm_clock
Not a regular file: /usr/share/google-gadgets/rss
No slot registered to handle this reply.
No slot registered to handle this reply.
Failed to load module smjs-script-runtime,所谓的spidermonkey脚本运行时。
代码: 全选
$ ./configure --prefix=/usr \
> --disable-libggadget-qt \
> --disable-qt-system-framework \
> --disable-qtwebkit-browser-element \
> --disable-qt-host \
> --disable-ltdl-install \
> --disable-static \
> --disable-update-mime-database \
> --disable-update-desktop-database \
> --enable-smjs-script-runtime \
> --enable-gtk-host \
> --enable-libggadget-gtk \
> --enable-gst-audio-framework \
> --enable-gst-mediaplayer-element \
> --enable-libggadget-dbus \
> --enable-gtkmoz-browser-element \
> --enable-gtk-system-framework \
> --enable-curl-xml-http-request \
> --enable-libxml2-xml-parser
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.20... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for zip... no
checking for ANSI C header files... (cached) yes
checking for stdint.h... (cached) yes
checking for size_t... yes
checking size of int... 4
checking size of long int... 4
checking size of size_t... 4
checking size of double... 8
checking whether byte ordering is bigendian... no
checking for zlib version >= 1.2.3... yes (CPPFLAGS= -I/usr/include LIBS=-lz LDFLAGS=)
checking for pthread_create in -lpthread... yes
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for QT4... no
checking for QT4WEBKIT... no
checking for QT4SCRIPT... no
checking for GTK2... yes
checking for GSTREAMER... yes
checking gst/video/gstvideosink.h usability... yes
checking gst/video/gstvideosink.h presence... no
configure: WARNING: gst/video/gstvideosink.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: gst/video/gstvideosink.h: proceeding with the compiler's result
checking for gst/video/gstvideosink.h... yes
checking for gawk... (cached) gawk
checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.18.2
checking for libcurl >= version 7.15.0... yes
checking whether libcurl is usable... yes
checking for curl_free... yes
checking for xml2-config... /usr/bin/xml2-config
checking for libxml - version >= 2.4.0... yes (version 2.6.32)
checking for SpiderMonkey version >= 160... checking for PKGSMJS... no
checking for PKGSMJS... no
checking for PKGSMJS... no
checking for PKGSMJS... yes
no
checking for DBUS... yes
checking for dbus_watch_get_unix_fd... yes
checking for dbus_watch_get_fd... yes
checking for RSVG... yes
checking for GTKMOZEMBED... yes
checking for mkdtemp... yes
checking for tempnam... yes
checking for flex... no
checking for lex... no
checking for update-mime-database... /usr/bin/update-mime-database
checking for update-desktop-database... /usr/bin/update-desktop-database
configure: WARNING: Library qt-4.3 or above is not available, qt port won't be built
configure: WARNING: Library qtwebkit or qt-4.4 and above is needed to build qtwebkit_browser_element
configure: WARNING: Library qt-4.4 and above is needed to build qt_script_runtime
configure: WARNING: Library SpiderMonkey is not available, smjs-script-runtime extension won't be built.
configure: WARNING: Can't generate resource file bundle without zip command.
configure: WARNING: curl, libxml2 or spidermonkey are missing, which are required for gtk host.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating extensions/Makefile
config.status: creating extensions/dbus_script_class/Makefile
config.status: creating extensions/default_framework/Makefile
config.status: creating extensions/gtk_edit_element/Makefile
config.status: creating extensions/qt_edit_element/Makefile
config.status: creating extensions/gtkmoz_browser_element/Makefile
config.status: creating extensions/qtwebkit_browser_element/Makefile
config.status: creating extensions/gst_audio_framework/Makefile
config.status: creating extensions/gst_mediaplayer_element/Makefile
config.status: creating extensions/gtk_system_framework/Makefile
config.status: creating extensions/qt_system_framework/Makefile
config.status: creating extensions/linux_system_framework/Makefile
config.status: creating extensions/linux_system_framework/tests/Makefile
config.status: creating extensions/qt_script_runtime/Makefile
config.status: creating extensions/qt_script_runtime/tests/Makefile
config.status: creating extensions/smjs_script_runtime/Makefile
config.status: creating extensions/smjs_script_runtime/tests/Makefile
config.status: creating extensions/qt_xml_http_request/Makefile
config.status: creating extensions/curl_xml_http_request/Makefile
config.status: creating extensions/libxml2_xml_parser/Makefile
config.status: creating extensions/default_options/Makefile
config.status: creating extensions/default_options/tests/Makefile
config.status: creating extensions/google_gadget_manager/Makefile
config.status: creating extensions/google_gadget_manager/gadget_browser/Makefile
config.status: creating extensions/google_gadget_manager/tests/Makefile
config.status: creating ggadget/sysdeps.h
config.status: creating ggadget/Makefile
config.status: creating ggadget/tests/Makefile
config.status: creating ggadget/tests/test_modules/Makefile
config.status: creating ggadget/dbus/Makefile
config.status: creating ggadget/dbus/tests/Makefile
config.status: creating ggadget/qt/Makefile
config.status: creating ggadget/qt/tests/Makefile
config.status: creating ggadget/gtk/Makefile
config.status: creating ggadget/gtk/tests/Makefile
config.status: creating ggadget/js/Makefile
config.status: creating ggadget/js/tests/Makefile
config.status: creating hosts/Makefile
config.status: creating hosts/gtk/Makefile
config.status: creating hosts/qt/Makefile
config.status: creating resources/Makefile
config.status: creating third_party/Makefile
config.status: creating third_party/codesighs/Makefile
config.status: creating third_party/editline/Makefile
config.status: creating third_party/unzip/Makefile
config.status: creating unittest/Makefile
config.status: creating gadgets/Makefile
config.status: creating gadgets/analog_clock/Makefile
config.status: creating gadgets/digital_alarm_clock/Makefile
config.status: creating gadgets/igoogle/Makefile
config.status: creating gadgets/rss/Makefile
config.status: creating ggadget/libggadget-1.0.pc
config.status: creating ggadget/dbus/libggadget-dbus-1.0.pc
config.status: creating ggadget/gtk/libggadget-gtk-1.0.pc
config.status: creating ggadget/js/libggadget-js-1.0.pc
config.status: creating ggadget/qt/libggadget-qt-1.0.pc
config.status: creating xdg/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
=== configuring in libltdl (/home/zhuqin/Software/compile/daily/google-gadgets-gtk-svn/src/google-gadgets1/libltdl)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--disable-libggadget-qt' '--disable-qt-system-framework' '--disable-qtwebkit-browser-element' '--disable-qt-host' '--disable-ltdl-install' '--disable-static' '--disable-update-mime-database' '--disable-update-desktop-database' '--enable-smjs-script-runtime' '--enable-gtk-host' '--enable-libggadget-gtk' '--enable-gst-audio-framework' '--enable-gst-mediaplayer-element' '--enable-libggadget-dbus' '--enable-gtkmoz-browser-element' '--enable-gtk-system-framework' '--enable-curl-xml-http-request' '--enable-libxml2-xml-parser' '--enable-ltdl-install=no' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking which extension is used for runtime loadable modules... .so
checking which variable specifies run-time module search path... LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib /usr/lib/libfakeroot
checking for library containing dlopen... -ldl
checking for dlerror... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... no
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking for argz.h... yes
checking for error_t... yes
checking for argz_add... yes
checking for argz_append... yes
checking for argz_count... yes
checking for argz_create_sep... yes
checking for argz_insert... yes
checking for argz_next... yes
checking for argz_stringify... yes
checking if argz actually works... yes
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for unistd.h... (cached) yes
checking for dl.h... no
checking for sys/dl.h... no
checking for dld.h... no
checking for mach-o/dyld.h... no
checking for dirent.h... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for strlcat... no
checking for strlcpy... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
Build options:
Version "0.10.0"
Install prefix /usr
Install included libltdl no
Build shared libs yes
Build static libs no
Enable debug no
Host type linux
Libraries:
GTK SVG Support yes
Build libggadget-gtk yes
Build libggadget-qt no
Build libggadget-dbus yes
Extensions:
Build dbus-script-class yes
Build gtk-edit-element yes
Build gtkmoz-browser-element yes
Build qtwebkit-browser no
Build gst-audio-framework yes
Build gst-mediaplayer-element yes
Build gtk-system-framework yes
Build qt-system-framework no
Build linux-system-framework yes
Build smjs-script-runtime no
Build qt-script-runtime no
Build curl-xml-http-request yes
Build qt-xml-http-request no
Build libxml2-xml-parser yes
Hosts:
Build gtk host no
Build qt host no
configure: WARNING: Neither gtk host nor qt host will be built !!!
Nothing can be used to run Google Gadgets for Linux.