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

0.10.5 does not work on Fedora 11): js-script-runtime cannot be loaded #312

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. yum install google-gadgets-gtk (or google-gadgets-qt)
2. ggl-gtk (or ggl-qt)

What is the expected output? What do you see instead?
Program should launch

What version of the product are you using? On what operating system?
Fedora Core 11 (stable, updated)

Please provide any additional information below.

Program can't start because it failed to load the following module(s):
js-script-runtime

$ ggl-gtk -s
Not a regular file: /
Failed to find proper Gecko Runtime Environment!

$ rpm -q xulrunner
xulrunner-1.9.1-0.20.beta4.fc11.x86_64

This bug is related to closed bug for Rawhide:
http://code.google.com/p/google-gadgets-for-linux/issues/detail?id=286

Original issue reported on code.google.com by mariu...@gmail.com on 26 Jun 2009 at 7:32

GoogleCodeExporter commented 9 years ago
Please try GGL 0.11.0 and make sure you have xulrunner-devel package installed 
before
building GGL. And you may want to use --disable-werror configure option to 
workaround
a compilation issue.

Original comment by james...@gmail.com on 28 Jun 2009 at 7:11

GoogleCodeExporter commented 9 years ago
Compiled with
../configure --prefix=/usr --libdir=/usr/lib64  --with-browser-plugins-
dir=/usr/lib64/mozilla/plugins --disable-werror

Error after running

$ ggl-gtk 
Failed to load module gst-video-element
Failed to load module gst-audio-framework

(ggl-gtk:7132): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion 
`atom 
!= GDK_NONE' failed

(ggl-gtk:7132): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion 
`atom 
!= GDK_NONE' failed

(ggl-gtk:7132): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion 
`atom 
!= GDK_NONE' failed

(ggl-gtk:7132): Gdk-CRITICAL **: gdk_x11_atom_to_xatom_for_display: assertion 
`atom 
!= GDK_NONE' failed
The program 'ggl-gtk' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAtom (invalid Atom parameter)'.
  (Details: serial 317 error_code 5 request_code 19 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Original comment by mariu...@gmail.com on 1 Jul 2009 at 8:06

GoogleCodeExporter commented 9 years ago
Build options:
  Version                         "0.11.0"
  Install prefix                  /usr
  Install included libltdl        no
  Build shared libs               yes
  Build static libs               yes
  Enable debug                    no
  Host type                       linux
  Cross Compiling                 no
  OEM brand                       

 Libraries:
  Build libggadget-dbus           yes
  Build libggadget-gtk            yes
  Build libggadget-npapi          yes
  Build libggadget-qt             no

 Extensions:
  Build curl-xml-http-request     yes
  Build soup-xml-http-request     no
  Build dbus-script-class         yes
  Build gst-audio-framework       no
  Build gst-video-element         no
  Build gtk-edit-element          yes
  Build gtk-flash-element         yes
  Build gtk-system-framework      yes
  Build gtkmoz-browser-element    yes
  Build libxml2-xml-parser        yes
  Build linux-system-framework    yes
  Build qt-edit-element           no
  Build qt-script-runtime         no
  Build qt-system-framework       no
  Build qt-xml-http-request       no
  Build qtwebkit-browser          no
  Build smjs-script-runtime       yes
  Build webkit-script-runtime     no
  Build gtkwebkit-browser-element no

 Other features:
  GTK SVG Support                 no
  NetworkManager support          no
  Startup notification support    yes
  Built-in xdgmime support        yes
  Browser plugins directory       /usr/lib64/mozilla/plugins
  Default gstreamer audio sink    autoaudiosink
  SSL CA certificate file         
  Memory check command            

 Hosts:
  Build gtk host                  yes
  Build qt host                   no

Original comment by mariu...@gmail.com on 1 Jul 2009 at 8:07

GoogleCodeExporter commented 9 years ago
There is a bug in 0.11.0 which may cause crash. It's already fixed in the latest
trunk, please have a try.

Original comment by james...@gmail.com on 2 Jul 2009 at 1:29

GoogleCodeExporter commented 9 years ago
thx, its works.

Original comment by mariu...@gmail.com on 2 Jul 2009 at 5:16

GoogleCodeExporter commented 9 years ago

Original comment by james...@gmail.com on 2 Jul 2009 at 5:52

GoogleCodeExporter commented 9 years ago
Is this solved? I can follow your discussion.

Original comment by yjyi...@gmail.com on 31 Jul 2009 at 6:06

GoogleCodeExporter commented 9 years ago
(Forgive me, I'm new at this.)

It isn't solved for me.
I downloaded the one from the trunk and followed the HowToBuild page

$ svn checkout http://google-gadgets-for-linux.googlecode.com/svn/trunk/ 
ggl-trunk
$ cd ggl-trunk
$ sh autotools/bootstrap.sh

$ mkdir build
$ cd build
$ ../configure --prefix=/usr --libdir=/usr/lib64
--with-browser-plugins-dir=/usr/lib64/browser-plugins --disable-werror 
$ make -j2
$ su
$ make install

now ggl-gtk returns more errors :(

$ ggl-gtk
Failed to load module gst-video-element
Failed to load module gst-audio-framework
Failed to find proper Gecko Runtime Environment!
$
and that same jscript-runtime pops up

ggl-qt returns the same, but in a different order:

$ ggl-qt
Failed to find proper Gecko Runtime Environment!
Failed to load module gst-audio-framework
Failed to load module gst-video-element
$

any suggestions?

Original comment by ryan...@gmail.com on 2 Aug 2009 at 1:03

GoogleCodeExporter commented 9 years ago
solved! run

ggl-qt -s qt

Original comment by darv...@gmail.com on 12 Aug 2009 at 6:06

GoogleCodeExporter commented 9 years ago
That's it!

solved!

Thanks.

Original comment by ryan...@gmail.com on 12 Aug 2009 at 7:02