[csw-users] CSWeclipse with wrong arch.

Richard Mahoney r.mahoney at iconz.co.nz
Sat Dec 2 05:28:36 CET 2006


On Sat, 2006-12-02 at 12:43, William Bonnet wrote:
> Hi all
> 
> This is a known problem :(
> 
> I still haven't replaced the package, because even if the 386 binary is 
> available, the package has some other problem x86. It works fine on sparc.
> 
> I hope i'll be able to release soon (in the next week). Otherwise i'll 
> consider to switch back to version 3.2 which works on both 386 and sparc.
> 
> sorry for the delay,

For what its worth I built and installed a 3.2.1 on:

SunOS proliant 5.10 Generic_118855-19 i86pc i386 i86pc


by following the instructions here:

http://www.opensolaris.org/jive/thread.jspa?threadID=16022&tstart=0


i.e.:

<begin quote>

I have successfully built Eclipse 3.2.1 on Solaris x86 (Nevada b48).
However, I had to make some changes.

1. You must download and install Sun Studio compiler. I use version 11.

The Solaris makefile in Eclipse source uses Studio CC's flag. GCC will
fail.
See "./plugins/org.eclipse.swt/Eclipse SWT
PI/gtk/library/make_solaris.mak":
GLXLIBS = -G -K PIC -L/usr/X11R6/lib -lGL -lGLU -lm

2. Download the source from
http://download.eclipse.org/eclipse/downloads/drops/R-3.2.1-200609210945/index.php
Choose "eclipse-sourceBuild-srcIncluded-3.2.1.zip "
(I found the mirror site in TW the fastest)

3. Unzip the source to a separate directory.

4. Change the following line in "build.xml" file.
From:
<property name="javacSource" value="1.3" />
<property name="javacTarget" value="1.2" />
To:
<property name="javacSource" value="1.5" />
<property name="javacTarget" value="1.5" />

It is my workaround for this Eclipse bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=102560

5. Set JAVA_HOME to your jdk1.5 base directory, mine is /usr/java
6. Set CDE_HOME to /usr/dt

Build Eclipse with the following command:

CC=cc JAVA_HOME=/usr/java CDE_HOME=/usr/dt ./build -os solaris -ws gtk
-arch x86 -java5home /usr/java -compilelibs

<end quote>


Best regards,

 Richard Mahoney


-- 
Richard MAHONEY | internet: http://indica-et-buddhica.org/
Littledene      | telephone/telefax (man.): +64 3 312 1699
Bay Road        | cellular: +64 27 482 9986
OXFORD, NZ      | email: r.mahoney at indica-et-buddhica.org
-----------------------------------------------------------
Philologica: http://indica-et-buddhica.org/philologica/
Repositorium: http://indica-et-buddhica.org/repositorium/




More information about the users mailing list