Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2012 08:13:38 +1300
From:      Jonathan Chen <jonc@chen.org.nz>
To:        freebsd-eclipse@freebsd.org
Subject:   Building eclipse, eclipse-devel with libxul
Message-ID:  <CAJuc1zMyakNzL%2BS%2BzNOYtV%2BFhdww%2B8K%2BNzZ8z0gnz%2B_c6GJMaw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

Has anyone had luck getting eclipse-devel working with libxul-10? The port
requires libxul9 - but this unfortunately conflicts with quite a few other
installed ports from GNOME.

I tried forcing a build with libxul-10, and this completed successfully.
Unfortunately, it fails to start up completely. Here's the failure log, if
it helps:

!SESSION 2012-12-14 08:00:16.057
-----------------------------------------------
eclipse.buildId=I20120608-1400
java.version=1.6.0_32
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=freebsd, ARCH=x86_64, WS=gtk, NL=en_NZ
Command-line arguments:  -os freebsd -ws gtk -arch x86_64

!ENTRY org.eclipse.osgi 4 0 2012-12-14 08:00:19.699
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
        no swt-gtk-4233 in java.library.path
        no swt-gtk in java.library.path
        Can't load library:
/home/jonc/.swt/lib/FreeBSD/x86_64/libswt-gtk-4233.so
        Can't load library: /home/jonc/.swt/lib/FreeBSD/x86_64/libswt-gtk.so

        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:331)
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:240)
        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:133)
        at
org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:650)
        at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
        at
org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:154)
        at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:96)
        at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        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:353)
        at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:642)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1451)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1427)
-- 
Jonathan Chen <jonc@chen.org.nz>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJuc1zMyakNzL%2BS%2BzNOYtV%2BFhdww%2B8K%2BNzZ8z0gnz%2B_c6GJMaw>