Bug#511713: The real problem is with libgtkembedmoz.so

Jaime Alberto Silva jaimealbertosilva at gmail.com
Thu Apr 2 04:50:22 UTC 2009


Package: eclipse
Version: 3.2.2-6.1

*** Please type your report below this line ***

As you can see in the /usr/bin/eclipse script, the library needed in
order to have embedded navigator is libgtkembedmoz.so:

jaime at inspironjaime2:~$ cat /usr/bin/eclipse
...
# Set path for the Mozilla SWT binding
MOZILLA_FIVE_HOME=${MOZILLA_FIVE_HOME%*/}
if false && [ -n "$MOZILLA_FIVE_HOME" -a -e
$MOZILLA_FIVE_HOME/libgtkembedmoz.so ]; then
    :
elif [ -e /usr/lib/mozilla/libgtkembedmoz.so ]; then
    export MOZILLA_FIVE_HOME=/usr/lib/mozilla
elif [ -e /usr/lib/firefox/libgtkembedmoz.so ]; then
    export MOZILLA_FIVE_HOME=/usr/lib/firefox
elif [ -e /usr/lib/xulrunner/libgtkembedmoz.so ]; then
    export MOZILLA_FIVE_HOME=/usr/lib/xulrunner
elif [ -e /usr/lib/mozilla-firefox/libgtkembedmoz.so ]; then
    export MOZILLA_FIVE_HOME=/usr/lib/mozilla-firefox
elif [ -e /usr/lib/mozilla/libgtkembedmoz.so ]; then
    export MOZILLA_FIVE_HOME=/usr/lib/mozilla
else
    $DIALOGW \
        --title="Integrated browser support not working" \
        --text="This Eclipse build doesn't have support for the
integrated browser."
    [ $? -eq 0 ] || exit 1
fi
...
jaime at inspironjaime2:~$

And I always got that message ("This Eclipse build doesn't have
support for the integrated browser.").

But the only packages currently offering libgtkembedmoz.so in testing
and unstable are icedove and iceowl as you can see in
http://packages.debian.org/search?searchon=contents&keywords=libgtkembedmoz.so&mode=path&suite=unstable&arch=any

The problem is that none of those packages put the library in one of
the directories mentioned in the eclipse script that, I guess, are the
same ones in which the eclipse binary looks for the library.

So I made a simbolic link from the icedove location to one of the
directories mentioned:

inspironjaime2:/home/jaime# ln -s /usr/lib/icedove/libgtkembedmoz.so
/usr/lib/mozilla

And now everything works fine, I can use the embedded browser for
things like search the manual and so.

Of course, for that to work you must have icedove installed first.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (102, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages eclipse depends on:
ii  eclipse-jdt                   3.2.2-6.1  Java Development Tools plug-ins fo
ii  eclipse-pde                   3.2.2-6.1  Plug-in Development Environment to
ii  eclipse-source                3.2.2-6.1  Eclipse source code plug-ins
ii  libc6                         2.9-6      GNU C Library: Shared libraries
ii  libglib2.0-0                  2.20.0-2   The GLib library of C routines
ii  libgtk2.0-0                   2.14.7-5   The GTK+ graphical user interface
ii  zenity                        2.24.1-1   Display graphical dialog boxes fro

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

eclipse suggests no packages.

-- no debconf information



Jaime Alberto Silva
Gerente
SG Automatización Ltda.
Pereira \ Risaralda \ Colombia





More information about the pkg-java-maintainers mailing list