installing 2019.06 versions of Eclipse CDT on CentOS6 [message #1808565] |
Wed, 26 June 2019 17:27  |
Eclipse User |
|
|
|
Hi All,
I have been trying to install the latest available version of eclipse CDT (2019-06) to use on a farm of CPU servers which are all running CentOS6. Not being a system administrator, I cannot install anything in any of the system directories on any of these machines.
I know that latest versions of eclipse are based on Gtk+3, whereas CentOS6 is based on Gtk+2. However, somebody with system administrator privileges installed in some non-standard path the Gtk+3 libraries, say in path /x/y/gtk3. After setting my LD_LIBRARY_PATH to point to /x/y/gtk3/lib64, I am now able to get past the splash screen, but I am still running into a dialog window that says:
"An error has occurred. See the log file /home/..../eclipse/configuration/<somenumber>.log"
Also, the following message is printed in the shell from which I launched Eclipse:
[shell prompt]$ ./eclipse
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
The reported log file shows the following messages:
Quote:!SESSION 2019-06-26 13:45:47.603 -----------------------------------------------
eclipse.buildId=4.12.0.I20190605-1800
java.version=11.0.3
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product org.eclipse.epp.package.cpp.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.cpp.product
!ENTRY org.eclipse.osgi 4 0 2019-06-26 13:45:49.432
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: org.eclipse.swt.internal.gtk.OS._cachejvmptr()V
at org.eclipse.swt.internal.gtk.OS._cachejvmptr(Native Method)
at org.eclipse.swt.internal.gtk.OS.cachejvmptr(OS.java:492)
at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:91)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:209)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:155)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:161)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:739)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:162)
at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:185)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:128)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:660)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597)
at org.eclipse.equinox.launcher.Main.run(Main.java:1468)
at org.eclipse.equinox.launcher.Main.main(Main.java:1441)
Fishing with google made me suspect that I might be missing some libswt-gtk3* libraries, but I don't know how to obtain/build them on CentOS6, so that does not really help.
Basically, what I am trying to do is to run Eclipse CDT with gtk+3 libraries in non-standard system paths.
Any help appreciated.
Thanks,
L.
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08289 seconds