[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform] Re: Failed to Start Eclipse with Self-Build SDK for Solaris-Motif

Simon,
There is a bug in the source build scripts. The solaris.motif.sparc build is using the gtk launcher instead of the motif launcher. I have raised https://bugs.eclipse.org/bugs/show_bug.cgi?id=189969.


Go to features/org.eclipse.platform/build.xml
Look for the ant target "rootFilessolaris_motif_sparc".
See the copy task that contains the following:
<fileset dir="${basedir}/../../features/org.eclipse.platform.launchers/bin/gtk/solaris/sparc" includes="**" />
and change the bin/gtk/solaris to bin/motif/solaris


If you don't want to run the whole build again, you could just manually copy the files from features/org.eclipse.platform.launchers/bin/motif/solaris/sparc into your result.

-Andrew

Simon Zeng wrote:
Hi Andrew,
The command I used to compile is as follows:

build -os solaris -ws motif -arch sparc -java5home <path to root of 1.5 JDK>

The generated file was solaris-motif-sparc-sdk.zip, which means it is for motif.
Do I need to include the "-compilelibs" while compiling the source?


Thanks,
Simon
"Andrew Niefer" <aniefer@xxxxxxxxxx> wrote in message news:f36opa$g8b$1@xxxxxxxxxxxxxxxxxxxx
Make sure that the eclipse native launcher that you have is one that was compiled for motif, it looks like you have the gtk.linux version of the launcher.

-Andrew
Simon Zeng wrote:
Hi,
I downloaded the eclipse-srcBuild-srcIncluded-3.2.2.zip
and built the Eclipse SDK 3.2.2 myself on Solaris 8 machine. Everything went fine and file solaris-motif-sparc-sdk.zip was generated. However, I got the following error messages when tried to run Eclipse:
ld.so.1: ./eclipse: fatal: libgtk-x11-2.0.so.0: open failed: No such file or directory
Killed


Not sure why it compained the libgtk since the windowing System type specified during build was "motif".

<zeng@matrix>java -version
java version "1.4.2_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)

Any idea?

Thanks,
Simon