Building eclipse-3.1M5a SDK under YDL-4
Joseph E. Sacco, Ph.D.
joseph_sacco at comcast.net
Mon Feb 28 11:33:26 MST 2005
I have managed to build the latest milestone version of eclipse:
http://www.eclipse.org
Sequence:
---------
(0) Acquire the necessary build tools
* download and install IBM's java-1.42 for PPC, IBMJava2-ppc-142
http://www-106.ibm.com/developerworks/java/jdk/linux140/
* download and install ant-1.6.2
http://ant.apache.org/
* set environment for java and ant
I have permanently added java and ant to my environment by adding
initialization scripts to /etc/profile.d [see attachments ant.sh and
java.sh]. These files modify the PATH and set appropriate HOME
environment variables.
(1) Download the source build [~ 57MB]
eclipse-sourceBuild-srcIncluded-3.1M5a.zip
(2) Unpack in a work area using "unzip"
Note: Building eclipse will require about 618MB of space.
(3) Edit two files
some paths and a library name are incorrect for YDL:
./plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh
./plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_linux.mak
[see attached patches]
(4) At the top level of the source tree, run
sh build -os linux -ws gtk -arch ppc > Build.log 2>&1 &
(5) Go do something else for a while
(6) Check the results
If all went well:
* Build.log will end with something like
BUILD SUCCESSFUL
Total time: 19 minutes 41 seconds
Specific details of the build will be found in ./compilelog.txt
* ./result directory should contain a very large file
-rw-r--r-- 1 root root 91573750 Feb 28 12:15
org.eclipse.sdk-I20050219-1500-linux.gtk.ppc.zip
(7) Rename the result archive
The result archive is *NOT* a zip file; it is a compressed tar file.
Rename it so you won't forget,
org.eclipse.sdk-I20050219-1500-linux.gtk.ppc.tar.gz
(8) Install the result tar ball
Unpacking the tar ball will generate a tree rooted at ./eclipse. The
tree is about 112MB in size.
On my machine I unpacked the tar ball under /usr/local, which created
/usr/local/eclipse.
(9) Try it out...
/usr/local/eclipse/eclipse
If all goes well you will see the splash screen followed [eventually] by
a dialog box allowing you to define the location of your workspace.
(10) Read the fine manual / Try the tutorial
-Joseph
--
joseph_sacco[at]comcast[dot]net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.sh.patch
Type: text/x-patch
Size: 434 bytes
Desc: not available
Url : http://lists.terrasoftsolutions.com/pipermail/yellowdog-general/attachments/20050228/920e86e1/build.sh.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make_linux.mak.patch
Type: text/x-patch
Size: 635 bytes
Desc: not available
Url : http://lists.terrasoftsolutions.com/pipermail/yellowdog-general/attachments/20050228/920e86e1/make_linux.mak.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ant.sh
Type: application/x-shellscript
Size: 110 bytes
Desc: not available
Url : http://lists.terrasoftsolutions.com/pipermail/yellowdog-general/attachments/20050228/920e86e1/ant.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: java.sh
Type: application/x-shellscript
Size: 163 bytes
Desc: not available
Url : http://lists.terrasoftsolutions.com/pipermail/yellowdog-general/attachments/20050228/920e86e1/java.bin
More information about the yellowdog-general
mailing list