participate


Solaris on x86 - Building eclipse 3.1 on Solaris 10 x86
<<   Back to Forum  |   Give us Feedback
This topic has 9 replies on 1 page.
Compl
Building eclipse 3.1 on Solaris 10 x86   
Mar 30, 2006 12:18 PM

 
I found an easy way to build eclipse on solaris x86, as followed:<br />
<br />
$ JAVA_HOME=/usr/j2se; export JAVA_HOME<br />
$ ANT_HOME=/home/compl/sfw/apache-ant-1.6.5; export ANT_HOME<br />
$ PATH=$ANT_HOME/bin:$PATH; export PATH<br />
$ mkdir -p ~/farm/eclipse-src<br />
$ cd ~/farm<br />
$ vi regexrename<br />
-----start create script regexrename-----<br />
-enter the following content:<br />
#!/bin/sh<br />
echo Renaming $1 to `echo $1 | sed $2`<br />
mv "$1" "`echo $1 | sed $2`"<br />
-save and quit vi<br />
-----end create script regexrename-----<br />
$ chmod +x regexrename<br />
$ vi regexreplace<br />
-----start create script regexreplace-----<br />
-enter the following content:<br />
#!/bin/sh<br />
echo Replacing file $1...<br />
mv "$1" "$1.replaced"<br />
sed "$2" "$1.replaced" > "$1"<br />
-save and quit vi<br />
-----end create script regexreplace-----<br />
$ chmod +x regexreplace<br />
$ cd eclipse-src<br />
$ unzip ~/Softwares/java/eclipse-sourceBuild-srcIncluded-3.1.zip<br />
$ vi ./build<br />
-----start modify script ./build-----<br />
-change line:<br />
export ANT_OPTS=-Xmx1000M<br />
-to<br />
ANT_OPTS=-Xmx1000M; export ANT_OPTS<br />
-add a blank line at end of file, to regard the last line to sed-----<br />
-----end modify script ./build-----<br />
<br />
-----now replace all sparc with i386 in directory and file names,<br />
<br />
-----don't change i386 to x86, although x86 seems better follow eclipse src naming conventions,<br />
<br />
-----or you have to perform some extra modifications on some scripts to correct x86 to i386, <br />
<br />
-----like the awt lib path, that is $JAVA_HOME/jre/lib/sparc on sun machines and<br />
<br />
-----$JAVA_HOME/jre/lib/i386 on intel PCs, NOT $JAVA_HOME/jre/lib/x86-----<br />
$ find ./ -name \sparc\ -exec ../regexrename "{}" 's/sparc/i386/g' \;<br />
Renaming ./plugins/org.eclipse.platform.source.solaris.gtk.sparc to ./plugins/org.eclipse.platform.source.solaris.gtk.i386<br />
find: stat() error ./plugins/org.eclipse.platform.source.solaris.gtk.sparc/frag ment.xml: No such file or directory<br />
find: stat() error ./plugins/org.eclipse.platform.source.solaris.gtk.sparc/META -INF: No such file or directory<br />
find: stat() error ./plugins/org.eclipse.platform.source.solaris.gtk.sparc/buil d.properties: No such file or directory<br />
find: stat() error ./plugins/org.eclipse.platform.source.solaris.gtk.sparc/abou t.html: No such file or directory<br />
Renaming ./plugins/org.eclipse.rcp.source.solaris.gtk.sparc to ./plugins/org.eclipse.rcp.source.solaris.gtk.i386<br />
find: stat() error ./plugins/org.eclipse.rcp.source.solaris.gtk.sparc/build.xml : No such file or directory<br />
.......<br />
.......<br />
.......<br />
Renaming ./assemble.org.eclipse.sdk.solaris.gtk.sparc.xml.replaced to ./assemble.org.eclipse.sdk.solaris.gtk.i386.xml.replaced<br />
-----Regarding the errors above, re-run the command to make sure-----<br />
<br />
$ find ./ -name \sparc\ -exec ../regexrename "{}" 's/sparc/i386/g' \;<br />
$ <br />
<br />
-----now replace all sparc inside all revelant text files with i386-----<br />
$ find ./ -type f \( -name \.xml -o -name \.properties -o -name \*.sh -o -name build \) -exec fgrep -s sparc "{}" \; -exec ../regexreplace "{}" 's/sparc/i386/g' \;<br />
Replacing file ./build...<br />
Replacing file ./plugins/org.eclipse.ui.cheatsheets/build.xml...<br />
.......<br />
.......<br />
.......<br />
Replacing file ./assemble.org.eclipse.sdk.all.xml...<br />
$<br />
<br />
-----Perform a normal build-----<br />
$ sh ./build -os solaris -ws gtk -arch i386 -compilelibs<br />
.......<br />
.......<br />
.......<br />
BUILD SUCCESSFUL<br />
Total time: 17 minutes 45 seconds<br />
-----eclipse/eclipse seems remain the one for SPARC arch, update it manually-----<br />
<br />
$ cp launchertmp/eclipse eclipse/<br />
-----test run the compiled binary-----<br />
<br />
$ eclipse/eclipse<br />
-----eclipse 3.1 should start-----<br />
<br />
<br />
<br />
-----Finally, be careful if you want to keep or distribute result/solaris-gtk-i386-sdk.zip, <br />
<br />
-----eclipse/eclipse inside it remains the one for SPARC arch, you may want to <br />
<br />
-----update it first.-----<br />
<br />
 
Stephan
Re: Building eclipse 3.1 on Solaris 10 x86   
Mar 30, 2006 12:18 PM (reply 1 of 9)  (In reply to original post )

 
Tried it with current Eclipse 3.1.1.<br />
Works fine too (solaris10x86)<br />
<br />
Thanx a lot.<br />
<br />
PS.: I do not understand why there is no solaris x86 drop on eclipse.org
 
cradlinski
Re: Building eclipse 3.1 on Solaris 10 x86   
Mar 30, 2006 12:18 PM (reply 2 of 9)  (In reply to original post )

 
It works! This is my first successful Eclipse build on Solaris x86 after many other attempts. Good work!<br />
 
cgehr
Posts:1
Registered: 4/26/06
Re: Building eclipse 3.1 on Solaris 10 x86   
Apr 26, 2006 4:02 PM (reply 3 of 9)  (In reply to #2 )

 
Tried this procedure with eclipse 3.1.2 and am getting the following error:

BUILD FAILED
file:/eclipse/eclipse-src/jdtcoresrc/compilejdtcorewithjavac.xml:31: Compile failed; see the compiler error output for details.

Total time: 5 seconds

BUILD FAILED
file:/eclipse/eclipse-src/jdtcoresrc/compilejdtcore.xml:21: The <fail> task doesn't support the nested "condition" element.

Total time: 0 seconds

BUILD FAILED
file:/eclipse/eclipse-src/build.xml:239: The <fail> task doesn't support the nested "condition" element.

Total time: 0 seconds
-bash-3.00#

Any ideas??
 
stdunbar
Posts:582
Registered: 12/19/97
Re: Building eclipse 3.1 on Solaris 10 x86   
May 4, 2006 11:40 AM (reply 4 of 9)  (In reply to #3 )

 
These are the same instructions I used to generate the Eclipse 3.1.2 that I distribute (see http://forums.hotjoe.com/posts/list/198.page for more information).

I'd say that your ant is older. If you run "ant -v" on the command line what version do you have? I'd strongly recommend 1.6+.
 
gordc77
Posts:1
Registered: 5/15/06
Re: Building eclipse 3.1 on Solaris 10 x86   
May 15, 2006 11:28 PM (reply 5 of 9)  (In reply to original post )

 
After wasting a day trying to follow/hack someone elses instructions
i tried this approach. it worked exactly as described first time thru.
thanks very much.
 
looric
Posts:1
Registered: 7/12/06
Re: Building eclipse 3.1 on Solaris 10 x86   
May 18, 2006 5:54 PM (reply 6 of 9)  (In reply to #5 )

 
bash
may also need to set path to /usr/sfw/bin/gcc.
and don't know why need to cp launchertmp/eclipse to overwrite the old one.
But it do works for us.


* Date: Fri May 19 08:51:20 CST 2006

* Platform Details:

* System properties:
eclipse.application=org.eclipse.ui.ide.workbench
eclipse.buildId=M20060118-1600
eclipse.commands=-os
solaris
-ws
gtk
-arch
sparc
-launcher
/export/home/looric/eclipse/./eclipse
-name
Eclipse
-showsplash
600
-exitdata
17
-vm
/usr/bin/java
eclipse.product=org.eclipse.sdk.ide
eclipse.startTime=1147999845899
eclipse.vm=/usr/bin/java
eclipse.vmargs=-Xms40m
-Xmx256m
-jar
/export/home/looric/eclipse/./startup.jar
eof=eof
file.encoding=UTF-8
file.encoding.pkg=sun.io
file.separator=/
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
java.awt.printerjob=sun.print.PSPrinterJob
java.class.path=/export/home/looric/eclipse/./startup.jar
java.class.version=49.0
java.endorsed.dirs=/usr/jdk/instances/jdk1.5.0/jre/lib/endorsed
java.ext.dirs=/usr/jdk/instances/jdk1.5.0/jre/lib/ext
java.home=/usr/jdk/instances/jdk1.5.0/jre
java.io.tmpdir=/var/tmp/
java.library.path=/usr/jdk/instances/jdk1.5.0/jre/lib/i386/client:/usr/jdk/instances/jdk1.5.0/jre/lib/i386:/usr/jdk/instances/jdk1.5.0/jre/../lib/i386:/usr/lib
java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
java.runtime.version=1.5.0_06-b05
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
java.specification.version=1.5
java.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
java.version=1.5.0_06
java.vm.info=mixed mode, sharing
java.vm.name=Java HotSpot(TM) Client VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Sun Microsystems Inc.
java.vm.specification.version=1.0
java.vm.vendor=Sun Microsystems Inc.
java.vm.version=1.5.0_06-b05
line.separator=

org.osgi.framework.bootdelegation=
org.osgi.framework.executionenvironment=J2SE-1.5
org.osgi.framework.language=en
org.osgi.framework.os.name=SunOS
org.osgi.framework.os.version=5.10
org.osgi.framework.processor=x86
org.osgi.framework.system.packages=javax.accessibility,javax.activity,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stream,javax.xml.validation,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.events,org.w3c.dom.ls,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
org.osgi.framework.vendor=Eclipse
org.osgi.framework.version=1.3.0
org.osgi.supports.framework.extension=true
os.arch=x86
os.name=SunOS
os.version=5.10
osgi.arch=sparc
osgi.bundles=org.eclipse.core.runtime@2:start, org.eclipse.update.configurator@3:start
osgi.bundlestore=/export/home/looric/eclipse/configuration/org.eclipse.osgi/bundles
osgi.configuration.area=file:/export/home/looric/eclipse/configuration/
osgi.framework=file:/export/home/looric/eclipse/plugins/org.eclipse.osgi_3.1.2.jar
osgi.framework.beginningstartlevel=1
osgi.framework.shape=jar
osgi.framework.version=3.1.2
osgi.install.area=file:/export/home/looric/eclipse/
osgi.instance.area=file:/export/home/looric/workspace/
osgi.instance.area.default=file:/export/home/looric/workspace/
osgi.logfile=/export/home/looric/workspace/.metadata/.log
osgi.manifest.cache=/export/home/looric/eclipse/configuration/org.eclipse.osgi/manifests
osgi.nl=en_US
osgi.os=solaris
osgi.splashLocation=/export/home/looric/eclipse/plugins/org.eclipse.platform_3.1.2/splash.bmp
osgi.splashPath=platform:/base/plugins/org.eclipse.platform
osgi.syspath=/export/home/looric/eclipse/plugins
osgi.ws=gtk
path.separator=:
sun.arch.data.model=32
sun.boot.class.path=/usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar:/usr/jdk/instances/jdk1.5.0/jre/lib/i18n.jar:/usr/jdk/instances/jdk1.5.0/jre/lib/sunrsasign.jar:/usr/jdk/instances/jdk1.5.0/jre/lib/jsse.jar:/usr/jdk/instances/jdk1.5.0/jre/lib/jce.jar:/usr/jdk/instances/jdk1.5.0/jre/lib/charsets.jar:/usr/jdk/instances/jdk1.5.0/jre/classes
sun.boot.library.path=/usr/jdk/instances/jdk1.5.0/jre/lib/i386
sun.cpu.endian=little
sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
sun.desktop=gnome
sun.io.unicode.encoding=UnicodeBig
sun.jnu.encoding=UTF-8
sun.management.compiler=HotSpot Client Compiler
sun.os.patch.level=unknown
user.country=US
user.dir=/export/home/looric/eclipse
user.home=/export/home/looric
user.language=en
user.name=looric
user.timezone=PRC

**
Features:
org.eclipse.jdt (3.1.2) "Eclipse Java Development Tools"
org.eclipse.jdt.source (3.1.2) "Eclipse Java Development Tools SDK"
org.eclipse.pde (3.1.2) "Eclipse Plug-in Development Environment"
org.eclipse.pde.source (3.1.2) "Eclipse Plug-in Development Environment Developer Resources"
org.eclipse.platform (3.1.2) "Eclipse Platform"
org.eclipse.platform.source (3.1.2) "Eclipse Platform Plug-in Developer Resources"
org.eclipse.rcp (3.1.2) "Eclipse RCP"
org.eclipse.rcp.source (3.1.2) "Eclipse RCP Plug-in Developer Resources"
org.eclipse.sdk (3.1.2) "Eclipse Project SDK"

* Plug-in Registry:
org.apache.ant (1.6.5) "Apache Ant" [Resolved]
org.apache.lucene (1.4.3) "Apache Lucene" [Resolved]
org.eclipse.ant.core (3.1.1) "Ant Build Tool Core" [Resolved]
org.eclipse.ant.ui (3.1.2) "Ant UI" [Resolved]
org.eclipse.compare (3.1.1) "Compare Support" [Resolved]
org.eclipse.core.boot (3.1.0) "Core Boot" [Resolved]
org.eclipse.core.commands (3.1.0) "Commands" [Active]
org.eclipse.core.expressions (3.1.0) "Expression Language" [Active]
org.eclipse.core.filebuffers (3.1.2) "File Buffers" [Active]
org.eclipse.core.resources (3.1.2) "Core Resource Management" [Active]
org.eclipse.core.resources.compatibility (3.1.0) "Core Resource Management Compatibility Fragment" [Resolved]
org.eclipse.core.runtime (3.1.2) "Core Runtime" [Active]
org.eclipse.core.runtime.compatibility (3.1.0) "Core Runtime Plug-in Compatibility" [Active]
org.eclipse.core.variables (3.1.0) "Core Variables" [Resolved]
org.eclipse.debug.core (3.1.2) "Debug Core" [Active]
org.eclipse.debug.ui (3.1.2) "Debug UI" [Active]
org.eclipse.help (3.1.0) "Help System Core" [Active]
org.eclipse.help.appserver (3.1.0) "Help Application Server" [Resolved]
org.eclipse.help.base (3.1.0) "Help System Base" [Resolved]
org.eclipse.help.ui (3.1.1) "Help System UI" [Resolved]
org.eclipse.help.webapp (3.1.0) "Help System Webapp" [Resolved]
org.eclipse.jdt (3.1.0) "Eclipse Java Development Tools" [Resolved]
org.eclipse.jdt.core (3.1.2) "Java Development Tools Core" [Active]
org.eclipse.jdt.debug (3.1.1) "JDI Debug Model" [Resolved]
org.eclipse.jdt.debug.ui (3.1.2) "JDI Debug UI" [Resolved]
org.eclipse.jdt.doc.isv (3.1.2) "Eclipse JDT Plug-in Developer Guide" [Resolved]
org.eclipse.jdt.doc.user (3.1.1) "Eclipse Java Development User Guide" [Resolved]
org.eclipse.jdt.junit (3.1.1) "Java Development Tools JUnit support" [Resolved]
org.eclipse.jdt.junit.runtime (3.1.0) "Java Development Tools JUnit runtime support" [Resolved]
org.eclipse.jdt.launching (3.1.0) "Java Development Tools Launching Support" [Resolved]
org.eclipse.jdt.source (3.1.2) "Eclipse Java Development Tools SDK" [Resolved]
org.eclipse.jdt.ui (3.1.2) "Java Development Tools UI" [Active]
org.eclipse.jface (3.1.1) "JFace" [Active]
org.eclipse.jface.text (3.1.2) "JFace Text" [Active]
org.eclipse.ltk.core.refactoring (3.1.0) "Refactoring Core" [Resolved]
org.eclipse.ltk.ui.refactoring (3.1.1) "Refactoring UI" [Resolved]
org.eclipse.osgi.services (3.1.2) "OSGi Release 3 Services" [Resolved]
org.eclipse.osgi.util (3.1.1) "OSGi R3 Utility Classes" [Resolved]
org.eclipse.pde (3.1.0) "Eclipse Plug-in Development Environment" [Resolved]
org.eclipse.pde.build (3.1.2) "Plug-in Development Environment Build Support" [Resolved]
org.eclipse.pde.core (3.1.1) "Plug-in Development Core" [Resolved]
org.eclipse.pde.doc.user (3.1.2) "Eclipse Plug-in Development User Guide" [Resolved]
org.eclipse.pde.junit.runtime (3.1.0) "PDE JUnit Plug-in Test" [Resolved]
org.eclipse.pde.runtime (3.1.1) "Plug-in Development Environment Runtime" [Resolved]
org.eclipse.pde.source (3.1.2) "Eclipse Plug-in Development Environment Developer Resources" [Resolved]
org.eclipse.pde.ui (3.1.2) "Plug-in Development UI" [Resolved]
org.eclipse.platform (3.1.2) "Eclipse Platform" [Resolved]
org.eclipse.platform.doc.isv (3.1.2) "Eclipse Platform Plug-in Developer Guide" [Resolved]
org.eclipse.platform.doc.user (3.1.1) "Eclipse Workbench User Guide" [Resolved]
org.eclipse.platform.source (3.1.2) "Eclipse Platform Plug-in Developer Resources" [Resolved]
org.eclipse.rcp (3.1.0) "Eclipse RCP" [Resolved]
org.eclipse.rcp.source (3.1.2) "Eclipse RCP Plug-in Developer Resources" [Resolved]
org.eclipse.rcp.source.solaris.gtk.sparc (3.1.2) "Eclipse RCP Plug-in Developer Resources" [Resolved]
org.eclipse.sdk (3.1.2) "Eclipse Project SDK" [Resolved]
org.eclipse.search (3.1.2) "Search Support" [Resolved]
org.eclipse.swt (3.1.0) "Standard Widget Toolkit" [Resolved]
org.eclipse.swt.gtk.solaris.sparc (3.1.1) "Standard Widget Toolkit for GTK 2.0" [Resolved]
org.eclipse.team.core (3.1.1) "Team Support Core" [Active]
org.eclipse.team.cvs.core (3.1.1) "CVS Team Provider Core" [Resolved]
org.eclipse.team.cvs.ssh (3.1.0) "CVS SSH Core" [Resolved]
org.eclipse.team.cvs.ssh2 (3.1.0) "CVS SSH2" [Resolved]
org.eclipse.team.cvs.ui (3.1.1) "CVS Team Provider UI" [Resolved]
org.eclipse.team.ui (3.1.1) "Team Support UI" [Resolved]
org.eclipse.text (3.1.1) "Text" [Active]
org.eclipse.tomcat (4.1.30.1) "Tomcat Wrapper" [Resolved]
org.eclipse.ui (3.1.2) "Eclipse UI" [Active]
org.eclipse.ui.browser (3.1.1) "Browser Support" [Resolved]
org.eclipse.ui.cheatsheets (3.1.1) "Cheat Sheets" [Resolved]
org.eclipse.ui.console (3.1.2) "Console" [Resolved]
org.eclipse.ui.editors (3.1.1) "Default Text Editor" [Active]
org.eclipse.ui.externaltools (3.1.1) "External Tools" [Active]
org.eclipse.ui.forms (3.1.0) "Eclipse Forms" [Resolved]
org.eclipse.ui.ide (3.1.1) "Eclipse IDE UI" [Active]
org.eclipse.ui.intro (3.1.1) "Welcome Framework" [Resolved]
org.eclipse.ui.presentations.r21 (3.1.0) "R21 Presentation Plug-in" [Resolved]
org.eclipse.ui.views (3.1.1) "Views" [Active]
org.eclipse.ui.workbench (3.1.2) "Workbench" [Active]
org.eclipse.ui.workbench.compatibility (3.1.0) "Workbench Compatibility" [Resolved]
org.eclipse.ui.workbench.texteditor (3.1.2) "Text Editor Framework" [Active]
org.eclipse.update.configurator (3.1.0) "Install/Update Configurator" [Active]
org.eclipse.update.core (3.1.2) "Install/Update Core" [Resolved]
org.eclipse.update.scheduler (3.1.0) "Automatic Updates Scheduler" [Active]
org.eclipse.update.ui (3.1.1) "Install/Update UI" [Resolved]
org.junit (3.8.1) "JUnit Testing Framework" [Resolved]
system.bundle (3.1.2) "OSGi System Bundle" [Active]

* User Preferences:
#Fri May 19 08:51:21 CST 2006
/instance/org.eclipse.jdt.ui/org.eclipse.jface.textfont=1|Monospace|10|0|GTK|1|;
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.formatterprofiles.version=8
/instance/org.eclipse.ui/showIntro=false
@org.eclipse.ui=3.1.2
\!/=
/instance/org.eclipse.ui.ide/platformState=88
/configuration/org.eclipse.ui.ide/SHOW_WORKSPACE_SELECTION_DIALOG=true
/instance/org.eclipse.core.resources/version=1
/instance/org.eclipse.ui.ide/tipsAndTricks=true
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.editor.tab.width=
@org.eclipse.core.resources=3.1.2
/instance/org.eclipse.jdt.ui/useQuickDiffPrefPage=true
@org.eclipse.ui.ide=3.1.1
@org.eclipse.jdt.ui=3.1.2
/instance/org.eclipse.jdt.ui/tabWidthPropagated=true
/configuration/org.eclipse.ui.ide/RECENT_WORKSPACES_PROTOCOL=2
/configuration/org.eclipse.ui.ide/MAX_RECENT_WORKSPACES=5
/configuration/org.eclipse.ui.ide/RECENT_WORKSPACES=/export/home/looric/workspace
/instance/org.eclipse.jdt.ui/fontPropagated=true
/instance/org.eclipse.jdt.ui/useAnnotationsPrefPage=true
/instance/org.eclipse.jdt.ui/org.eclipse.jdt.ui.javadoclocations.migrated=true
/instance/org.eclipse.ui.ide/quickStart=true
file_export_version=3.0

* Current Install Configuration:
Install configuration:
Last changed on May 19, 2006
Location: file:/export/home/looric/eclipse/configuration/org.eclipse.update/platform.xml

Configured sites:
platform:/base/

Configured features:
ID: org.eclipse.platform, Version: 3.1.2
ID: org.eclipse.rcp, Version: 3.1.2
ID: org.eclipse.platform.source, Version: 3.1.2
ID: org.eclipse.jdt, Version: 3.1.2
ID: org.eclipse.jdt.source, Version: 3.1.2
ID: org.eclipse.pde, Version: 3.1.2
ID: org.eclipse.pde.source, Version: 3.1.2
ID: org.eclipse.sdk, Version: 3.1.2
ID: org.eclipse.rcp.source, Version: 3.1.2

Configured plug-ins:
file:/export/home/looric/eclipse/plugins/org.eclipse.jdt.core_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.ui.cheatsheets_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.help.base_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.ant.ui_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.jdt.source_3.1.2/
file:/export/home/looric/eclipse/plugins/org.eclipse.team.cvs.ui_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.pde.runtime_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.help.webapp_3.1.0/
file:/export/home/looric/eclipse/plugins/org.eclipse.ui.workbench_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.pde.build_3.1.2/
file:/export/home/looric/eclipse/plugins/org.eclipse.osgi.util_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.apache.lucene_1.4.3/
file:/export/home/looric/eclipse/plugins/org.eclipse.core.resources_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.search_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.update.configurator_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.core.expressions_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.pde.doc.user_3.1.2/
file:/export/home/looric/eclipse/plugins/org.eclipse.core.resources.compatibility_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.tomcat_4.1.30.1/
file:/export/home/looric/eclipse/plugins/org.eclipse.team.cvs.ssh_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.jdt.debug_3.1.1/
file:/export/home/looric/eclipse/plugins/org.eclipse.team.cvs.ssh2_3.1.0/
file:/export/home/looric/eclipse/plugins/org.eclipse.core.runtime.compatibility_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.update.core_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.jdt.debug.ui_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.help.ui_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.ui.presentations.r21_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.jface_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.jdt.doc.user_3.1.1/
file:/export/home/looric/eclipse/plugins/org.eclipse.core.commands_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.osgi_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.compare_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.rcp.source.solaris.gtk.i386_3.1.2/
file:/export/home/looric/eclipse/plugins/org.eclipse.team.cvs.core_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.sdk_3.1.2/
file:/export/home/looric/eclipse/plugins/org.eclipse.update.ui_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.platform.source_3.1.2/
file:/export/home/looric/eclipse/plugins/org.eclipse.ui.forms_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.platform.doc.user_3.1.1/
file:/export/home/looric/eclipse/plugins/org.eclipse.pde_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.ui.intro_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.ui.console_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.help_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.rcp.source_3.1.2/
file:/export/home/looric/eclipse/plugins/org.eclipse.core.filebuffers_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.ui.editors_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.pde.junit.runtime_3.1.0/
file:/export/home/looric/eclipse/plugins/org.eclipse.core.runtime_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.rcp_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.jface.text_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.pde.source_3.1.2/
file:/export/home/looric/eclipse/plugins/org.eclipse.ui.workbench.texteditor_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.ltk.core.refactoring_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.jdt.junit.runtime_3.1.0/
file:/export/home/looric/eclipse/plugins/org.eclipse.ui.views_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.jdt.doc.isv_3.1.2/
file:/export/home/looric/eclipse/plugins/org.eclipse.text_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.swt_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.pde.ui_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.ui.workbench.compatibility_3.1.0/
file:/export/home/looric/eclipse/plugins/org.eclipse.platform_3.1.2/
file:/export/home/looric/eclipse/plugins/org.eclipse.ltk.ui.refactoring_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.swt.gtk.solaris.i386_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.help.appserver_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.apache.ant_1.6.5/
file:/export/home/looric/eclipse/plugins/org.eclipse.core.variables_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.ui.externaltools_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.ant.core_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.core.boot_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.team.ui_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.update.scheduler_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.jdt_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.debug.core_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.debug.ui_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.team.core_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.ui.ide_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.ui_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.osgi.services_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.jdt.launching_3.1.0.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.jdt.ui_3.1.2.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.jdt.junit_3.1.1/
file:/export/home/looric/eclipse/plugins/org.junit_3.8.1/
file:/export/home/looric/eclipse/plugins/org.eclipse.ui.browser_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.pde.core_3.1.1.jar
file:/export/home/looric/eclipse/plugins/org.eclipse.platform.doc.isv_3.1.2/
 
TheByteworks
Posts:13
Registered: 6/26/03
Re: Building eclipse 3.1 on Solaris 10 x86   
Jun 19, 2007 10:57 AM (reply 7 of 9)  (In reply to original post )

 
I tried these instructions with Eclipse 3.2.2 with ANT 1.6.5 on my Sun Ultra 20 M2 Opteron 64-bin workstation with a fully-patched Solaris 10 (SunOS 5.10) distribution. I get the following error:

[javac] 60 problems (60 warnings)
[exec] gcc: PIC: No such file or directory
[exec] gcc: unrecognized option `-K'
[exec] make: Fatal error: Command failed for target `libswt-gtk-3236.so'

BUILD FAILED
/export/home/scm005/farm/eclipse-src/build.xml:76: exec returned: 1

I Googled a post that said these were invalid commands for a certain compiler, so I suspected this was a path issue or I have the wrong gcc module.

My path is:
/usr/sfw/bin:/usr/ccs/bin:/opt/csw/bin:/opt/sfw/bin:/usr/bin:/usr/openwin/bin:/usr/ucb

# find / -name gcc
/usr/sfw/lib/gcc
/usr/sfw/bin/gcc
/usr/sfw/libexec/gcc

/usr/sfw/lib/gcc contains: i386-pc-solaris2.10

Has anybody else had this issue? Any suggestions?

Steve Mitchell
http://www.byteworksinc.com
 
johnthawk
Posts:6
Registered: 11/6/05
Re: Building eclipse 3.1 on Solaris 10 x86   
Jul 8, 2007 11:36 PM (reply 8 of 9)  (In reply to #7 )

 
Pick it up here http://ocean1.ee.duth.gr/SolarisX/
 
TheByteworks
Posts:13
Registered: 6/26/03
Re: Building eclipse 3.1 on Solaris 10 x86   
Jul 9, 2007 4:26 AM (reply 9 of 9)  (In reply to #8 )

 
John,

Thank you for the reply. Actually, I had already found that build. I believe it is 3.1 or 3.2.1. I attempted to upgrade it to 3.2.2 and install the Eclipse Web Tools Project and SubClipse. Something is missing from the build. It won't upgrade and I was unable to find the missing dependencies.

I decided to give up on Solaris 10 for now because I spent too much time away from productive work. I installed Suse 10.2 on my Sun Ultra 20 instead since Eclipse has x86_64 binaries for Linux. I know have everything I needed.

My plan is to stay on Suse until two things happen: 1) Eclipse supports Solaris x86_64; and 2) Solaris 11 comes out with support for Branded Zones so I can run Suse in a Solaris Zone. I realize that I can get Solaris Express today with Branded Zones, but oddly enough, Sun does not support Solaris Express on the Sun Ultra workstation. Go figure.

Steve Mitchell
http://www.byteworksinc.com
 
This topic has 9 replies on 1 page.
Back to Forum
 
Read the Developer Forums Code of Conduct

Click to email this message Email this Topic

Edit this Topic
  
 
 
Forums Statistics
    Users Online : 28
  • Guests : 133

About Sun forums
  • Oracle Forums is a large collection of user generated discussions. It is here to help you ask questions, find answers, and participate in discussions.

    Check out our guide on Getting started with Oracle Forums for a full walkthrough of how to best leverage the benefits of this community.

Powered by Jive Forums