| Summary: | Browser plugin of IBM JDK isn't loaded in Firefox - missing dependency on x11-libs/gtk+-1.2.10 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Alexander Skwar <askwar> |
| Component: | Current packages | Assignee: | Java team <java> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | mozilla |
| Priority: | High | ||
| Version: | 2006.1 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://alexander.skwar.name/~askwar/stuff/%c3%9cber%20Plugins.html | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | about:plugins | ||
|
Description
Alexander Skwar
2006-09-14 13:57:13 UTC
Created attachment 97004 [details]
about:plugins
Browser plugins are now controlled by "eselect java-nsplugin". Is the IBM one listed? alexander@blatt ~/tmp/about: $ eselect java-nsplugin list Available Java browser plugins [1] ibm-jdk-bin-1.5 current alexander@blatt ~/tmp/about: $ eselect java-nsplugin show Current Java browser plugin ibm-jdk-bin-1.5 I didn't know about this and haven't set anything. OK, I guess this can be closed. ;) Why? Please don't be so "close happy"! :( (In reply to comment #5) > Why? > > Please don't be so "close happy"! :( So, if you don't set any plugin, you won't have any plugin. Where's the bug? (In reply to comment #6) > (In reply to comment #5) > > Why? > > > > Please don't be so "close happy"! :( > > So, if you don't set any plugin, you won't have any plugin. Where's the bug? What are you talking about? alexander@blatt ~/tmp/about: $ eselect java-nsplugin list Available Java browser plugins [1] ibm-jdk-bin-1.5 current alexander@blatt ~/tmp/about: $ eselect java-nsplugin show Current Java browser plugin ibm-jdk-bin-1.5 See the output of "list"? IBM JDK is set as "current" and "show" returns the ibm-jdk. Is that not good enough? If so, then please add the people responsible for "eselect java-nsplugin" to this bug, as the output is completely not understandble right now. Yes your plugin seems to be set correctly. Can you verify it has no broken symlinks? Should look like this: # ls -la /usr/lib/nsbrowser/plugins/javaplugin.so lrwxrwxrwx 1 root root 63 2006-09-14 23:09 /usr/lib/nsbrowser/plugins/javaplugin.so -> /usr/share/java-config-2/nsplugin/ibm-jdk-bin-1.5-javaplugin.so # ls -la /usr/share/java-config-2/nsplugin/ibm-jdk-bin-1.5-javaplugin.so lrwxrwxrwx 1 root root 57 2006-07-27 15:39 /usr/share/java-config-2/nsplugin/ibm-jdk-bin-1.5-javaplugin.so -> /opt/ibm-jdk-bin-1.5.0.2/jre/bin/libjavaplugin_ojigtk2.so Anyway I just tested ibm's plugin and it loads fine here (although I have firefox 2.0beta, not 1.5.0.6). If you run firefox from console, maybe it gives you some useful error output? Links look fine: alexander@blatt ~/tmp/about: $ ls -la /usr/lib/nsbrowser/plugins/javaplugin.so /usr/share/java-config-2/nsplugin/ibm-jdk-bin-1.5-javaplugin.so /opt/ibm-jdk-bin-1.5.0.2/jre/bin/libjavaplugin_ojigtk2.so -rwxr-xr-x 1 root root 99788 14. Sep 22:46 /opt/ibm-jdk-bin-1.5.0.2/jre/bin/libjavaplugin_ojigtk2.so lrwxrwxrwx 1 root root 63 10. Sep 12:23 /usr/lib/nsbrowser/plugins/javaplugin.so -> /usr/share/java-config-2/nsplugin/ibm-jdk-bin-1.5-javaplugin.so lrwxrwxrwx 1 root root 57 14. Sep 22:46 /usr/share/java-config-2/nsplugin/ibm-jdk-bin-1.5-javaplugin.so -> /opt/ibm-jdk-bin-1.5.0.2/jre/bin/libjavaplugin_ojigtk2.so On the console, I get: libgtk-1.2.so.0: cannot open shared object file: No such file or directoryalexanalexander@blatt ~ $ LC_ALL=C firefox -ProfileManager GetBoundingMetrics (char *) GetBoundingMetrics (char *) GetBoundingMetrics (char *) GetBoundingMetrics (char *) libgtk-1.2.so.0: cannot open shared object file: No such file or directorylibgtk-1.2.so.0: cannot open shared object file: No such file or directorysh: acroread: command not found libgtk-1.2.so.0: cannot open shared object file: No such file or directorylibgtk-1.2.so.0: cannot open shared object file: No such file or directorylibgtk-1.2.so.0: cannot open shared object file: No such file or directorylibgtk-1.2.so.0: cannot open shared object file: No such file or directorylibgtk-1.2.so.0: cannot open shared object file: No such file or directorylibgtk-1.2.so.0: cannot open shared object file: No such file or directorylibgtk-1.2.so.0: cannot open shared object file: No such file or directorylibgtk-1.2.so.0: cannot open shared object file: No such file or directorylibgtk-1.2.so.0: cannot open shared object file: No such file or directorylibgtk-1.2.so.0: cannot open shared object file: No such file or directorylibgtk-1.2.so.0: cannot open shared object file: No such file or directorylibgtk-1.2.so.0: cannot open shared object file: No such file or directorylibgtk-1.2.so.0: cannot open shared object file: No such file or directorylibgtk-1.2.so.0: cannot open shared object file: No such file or directory I don't know why I've got all those "libgtk-1.2.so.0:" messages. I had Firefox 1.5.0.6 built with USE=-java. Now I'm at 1.5.0.7 and set the java USE flag. Ie. it's now built with: [ebuild R ] www-client/mozilla-firefox-1.5.0.7 USE="-debug gnome -ipv6 java -mozdevelop -xinerama -xprint" LINGUAS="-ar -bg -ca -cs -da de -el -en_GB -es -es_AR -es_ES -eu -fi -fr -ga -ga_IE -gu_IN -he -hu -it -ja -ko -lt -mk -nb -nb_NO -nl -pa_IN -pl -pt_BR -ro -ru -sk -sl -sv -sv_SE -tr -zh_CN -zh_TW" 0 kB But this didn't change anything. I still don't have a Java plugin. With dev-java/sun-jdk-1.5.0.08, I don't have this problem; ie. after sudo eselect java-nsplugin set 2 (2 = sun-jdk-1.5), I've got a Java plugin. When I start firefox with java-nsplugin set to IBM JDK, I get: libgtk-1.2.so.0: Kann die Shared-Object-Datei nicht With dev-java/sun-jdk-1.5.0.08, I don't have this problem; ie. after sudo eselect java-nsplugin set 2 (2 = sun-jdk-1.5), I've got a Java plugin. When I start firefox with java-nsplugin set to IBM JDK, I get: libgtk-1.2.so.0: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden (Ie. it cannot find libgtk-1.2.so.0.) I do not get this message when I set the java-nsplugin to sun-jdk-1.5. Vlastimil, do you have libgtk-1.2.so.0 installed? I do not. I've now installed x11-libs/gtk+-1.2.10-r11 and after that, switched to ibm-jdk as the nsplugin. After that, about:plugins shows: IBM Java(TM) Plug-in: J2RE 1.5.0 IBM build jclxi32dev-20060511a So, the bug is, that IBM JDK doesn't depend on x11-libs/gtk+-1.2.10 (In reply to comment #12) > I've now installed x11-libs/gtk+-1.2.10-r11 and after that, switched to ibm-jdk > as the nsplugin. After that, about:plugins shows: > > IBM Java(TM) Plug-in: J2RE 1.5.0 IBM build jclxi32dev-20060511a > > So, the bug is, that IBM JDK doesn't depend on x11-libs/gtk+-1.2.10 > You are right. I am fixing the depends as we speak. The dependencies have been adjusted to require gtk+-1* on 1.4 and gtk+-2* on 1.5. (In reply to comment #14) > The dependencies have been adjusted to require gtk+-1* on 1.4 and gtk+-2* on > 1.5. > Hm? JDK 1.5 also requires gtk+-1*! That's what this bug is about :) I did not have gtk+-1* installed, and because of this, I was not able to use the nsplugin. If I don't misunderstand what you wrote, dev-java/ibm-jdk-bin-1.5.0.2 will now require gtk+-2*. Is that right? If so, then that's not sufficient. Because of this, I'm reopening this bug. Close it, if I misunderstood you. In the ebuild, I find:
nsplugin? (
x86? ( =x11-libs/gtk+-2* )
ppc? ( =x11-libs/gtk+-1* )
)"
That's not good. Also on x86 when nsplugin is set, it should depend on x11-libs/gtk+-1*.
(In reply to comment #16) > In the ebuild, I find: > > That's not good. Also on x86 when nsplugin is set, it should depend on > x11-libs/gtk+-1*. > So it seems. Never trust the documentation :) file:///usr/share/doc/ibm-jdk-bin-1.5.0.2/html/docs/en/sdkandruntimeguide.lnx.en.htm Now it depends on both gtk-1 and gtk-2. |