Bug#396636: eclipse: workaround

Giuseppe D'Angelo dangelo at cli.di.unipi.it
Fri Dec 15 11:45:11 UTC 2006


Package: eclipse
Followup-For: Bug #396636

As a simple workaround:

You should install package libxul-dev, which actually provides libgtkembedmoz.so
as a symlink to /usr/lib/libgtkembedmoz.so.0d shipped by libxul0d
(I really don't know if this is a libxul policy violation).

Then start eclipse setting MOZILLA_FIVE_HOME to /usr/lib/.
In this way you shouldn't hit this bug.

---

However perhaps that /usr/bin/eclipse is bugged as well, since it
looks for libgtkembedmoz.so in
MOZILLA_FIVE_HOME
/usr/lib/mozilla/
/usr/lib/firefox/
/usr/lib/xulrunner/
/usr/lib/mozilla-firefox/
/usr/lib/mozilla/

(as a side note, in the fourth case (xulrunner),
it sets MOZILLA_FIVE_HOME to /usr/lib/firefox 
(copy and paste error?)).

However, searching for libgtkembedmoz.so in packages in unstable on x86
http://packages.debian.org/cgi-bin/search_contents.pl?word=libgtkembedmoz.so&searchmode=searchfiles&case=insensitive&version=unstable&arch=i386
gives 

usr/lib/debug/usr/lib/icedove/libgtkembedmoz.so		    mail/icedove-dbg
usr/lib/icedove/libgtkembedmoz.so			    mail/icedove
usr/lib/libgtkembedmoz.so				    libdevel/libxul-dev

These three paths are not tested in /usr/bin/eclipse script, and maybe
this bug occurs if eclipse uses an old libgtkembedmoz.so, 
for example one in /usr/lib/firefox or in /usr/lib/mozilla?

Cheers,
---
Giuseppe D'Angelo

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.15-1-686
Locale: LANG=it_IT at euro, LC_CTYPE=it_IT at euro (charmap=ISO-8859-15)

Versions of packages eclipse depends on:
ii  eclipse-jdt                   3.2.1-2    Java Development Tools plug-ins fo
ii  eclipse-pde                   3.2.1-2    Plug-in Development Environment to
ii  eclipse-source                3.2.1-2    Eclipse source code plug-ins

Versions of packages eclipse recommends:
pn  eclipse-gcj                   <none>     (no description available)

-- no debconf information




More information about the pkg-java-maintainers mailing list