Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Help with Eclipse 3.4 under NetBSD, emulated or otherwise?



Hi,
        I've been using Eclipse 3.1 native under NetBSD 4.0 for a while, and I
would like to move up to version 3.4 (Ganymede).  I have tried using the linux
version (e.g. eclipse-SDK-3.4.1-linux-gtk.tar.gz) with several different JVMs
(sun-1.5, jdk-1.5.0, jdk-1.6.0 from wip), but with each I end up at the
following error:


!ENTRY org.eclipse.osgi 4 0 2008-11-13 20:06:12.046
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: no swt-gtk-3449 or swt-gtk in swt.library.path, java.library.path or the jar file
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:233)
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:151)
        at org.eclipse.swt.internal.C.<clinit>(C.java:21)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
        at org.eclipse.swt.widgets.Display.<clinit>(Display.java:130)
        at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:509)
        at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:143) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:88) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1212)

These shared objects are in:

% jar tvf plugins/org.eclipse.swt.gtk.linux.x86_3.4.1.v3449c.jar  | grep libswt
 23060 Wed Sep 03 21:39:50 PDT 2008 libswt-atk-gtk-3449.so
  3612 Wed Sep 03 21:39:50 PDT 2008 libswt-awt-gtk-3449.so
 40736 Wed Sep 03 21:39:50 PDT 2008 libswt-cairo-gtk-3449.so
 10080 Wed Sep 03 21:39:50 PDT 2008 libswt-glx-gtk-3449.so
 10496 Wed Sep 03 21:39:50 PDT 2008 libswt-gnome-gtk-3449.so
 11360 Wed Sep 03 21:39:50 PDT 2008 libswt-gtk-3449.so
 90160 Wed Sep 03 21:39:50 PDT 2008 libswt-mozilla-gcc3-gtk-3449.so
 90184 Wed Sep 03 21:39:50 PDT 2008 libswt-mozilla-gtk-3449.so
352276 Wed Sep 03 21:39:50 PDT 2008 libswt-pi-gtk-3449.so
 27528 Wed Sep 03 21:39:48 PDT 2008 libswt-xpcominit-gtk-3449.so
 74168 Wed Sep 03 21:39:50 PDT 2008 libswt-xulrunner-gtk-3449.so


I have tried pulling libswt-gtk shared libraries out of the jar, and I have
also tried listing the containing jar directly in my CLASSPATH, but to no avail.


Should I be able to make this work under linux emulation? What else should I try? If running under linux emulation will not work, does anyone have instructions on building a native eclipse 3.4 under NetBSD?

        Thanks for any pointers or help.

        - Scott



Home | Main Index | Thread Index | Old Index