Eclipse 3.1_2 window problems

Mark Hobden markhobden at gmail.com
Sun Sep 25 03:49:08 PDT 2005


On 9/25/05, Vladimir Grebenschikov <vova at fbsd.ru> wrote:
> В сб, 24/09/2005 в 23:57 +0100, Mark Hobden пишет:
> > I have finally found what was causing the problems for me. A gtk
> > library revision patch was dropped from the port that my freshly
> > installed system seems to require. I have submitted how to fix it as a
> > problem report:
> >
> > http://www.freebsd.org/cgi/query-pr.cgi?pr=86538
> >
> > >Category:       ports
> > >Responsible:    freebsd-ports-bugs
> > >Synopsis:       java/eclipse builds with wrong gtk libraries
> > >Arrival-Date:   Sat Sep 24 22:50:15 GMT 2005
>
> Hm, strange,  I had exactly same problem, but it was solved by removing
> stale .so files in eclipse directory:
>
> % find .eclipse -name '*.so'
> .eclipse/org.eclipse.platform_3.1.0/configuration/org.eclipse.osgi/bundles/56/1/.cp/libswt-pi-gtk-3135.so
> .eclipse/org.eclipse.platform_3.1.0/configuration/org.eclipse.osgi/bundles/56/1/.cp/libswt-gtk-3135.so
> .eclipse/org.eclipse.platform_3.1.0/configuration/org.eclipse.osgi/bundles/56/1/.cp/libswt-gnome-gtk-3135.so
> .eclipse/org.eclipse.platform_3.1.0/configuration/org.eclipse.osgi/bundles/57/1/.cp/libswt-pi-gtk-3135.so
> .eclipse/org.eclipse.platform_3.1.0/configuration/org.eclipse.osgi/bundles/57/1/.cp/libswt-gtk-3135.so
> .eclipse/org.eclipse.platform_3.1.0/configuration/org.eclipse.osgi/bundles/57/1/.cp/libswt-gnome-gtk-3135.so
> .eclipse/org.eclipse.platform_3.1.0/configuration/org.eclipse.osgi/bundles/81/1/.cp/libswt-pi-gtk-3138.so
> .eclipse/org.eclipse.platform_3.1.0/configuration/org.eclipse.osgi/bundles/81/1/.cp/libswt-gtk-3138.so
> .eclipse/org.eclipse.platform_3.1.0/configuration/org.eclipse.osgi/bundles/81/1/.cp/libswt-gnome-gtk-3138.so
> .eclipse/org.eclipse.platform_3.1.0/configuration/org.eclipse.osgi/bundles/25/1/.cp/os/freebsd/x86/libcore_3_1_0.so
> %
>
> (see my post in the list before)

Investigating what caused the problem for me was made a lot more
difficult by these files as when I powngraded the Eclipse version
these files kept eclipse working badly and when I upgraded Eclipse
they kept eclipse working normally. When the message was posted about
these being cached and that eclipse should be started with the -clean
option, it made sorting/breaking eclipse much easier.

If you type:
% ls -l /usr/X11R6/lib/libgtk*.0
on your system does it show any files? On my gtk-2.6.10_1 system I do
not have any matching this.

Thanks,

Mark


More information about the freebsd-eclipse mailing list