28.03.2024, 21:26 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Nach Umstellung auf Iceweasel startet Eclipse (Version 3.1.2) nicht mehr.


Aufruf aus User-Konsole:
Das Script zum Aufruf von eclipse in /usr/bin sucht die library
libgtkembedmoz.so unter /usr/lib/mozilla und weil es diese
nicht findet, bricht das Script mit einer komischen Fehlermeldung ab.

Bei einem Aufruf von "K - Entwicklung - Eclipse" startet das Programm
nicht und es erfolgt auch keine Fehlermeldung wegen eines unkorrekten
Aufruf's des Fehlerausgangs.

Abhilfe, in Root-Konsole eingeben:
cd /usr/lib/mozilla ; ln -s /usr/lib/icedove/libgtkembedmoz.so libgtkembedmoz.so

Wer Lust hat, kann das Script /usr/bin/eclipse anpassen, sodass die Fehlermeldung
bei fehlendem Mozilla korrekt als Fenster erscheint.

cd /usr/bin ; cp eclipse eclipse.org
patch-file:
--- eclipse.org        2006-12-03 13:09:04.000000000 +0100
+++ eclipse.new 2006-12-03 17:30:14.000000000 +0100
@@ -139,9 +139,8 @@
 # now forget everything ... everything besides mozilla doesn't work
 if [ "$MOZILLA_FIVE_HOME" != "/usr/lib/mozilla" ]; then
         $DIALOG \
-            --error \
-            --title="Could not launch Eclipse Platform" \
-            --text="Eclipse currently only works with the mozilla browser. Please make sure that the package mozilla-browser is installed and MOZILLA_FIVE_HOME is either unset or points to /usr/lib/mozilla"
+            --error="Eclipse currently only works with the mozilla browser. Please make sure that the package mozilla-browser is installed and MOZILLA_FIVE_HOME is either unset or points to /usr/lib/mozilla" \
+            --title="Could not launch Eclipse Platform"
        exit 1
 fi

cp eclipse.new eclipse

zurück
XML Revisions of $tag
Seiten-History :: Letzter Editor : Gen :: Eigentümer : Gen ::
Powered by pnWikka 1.0
 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.