Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change 
notification.

The "HarmonyBuild" page has been changed by GuillermoCabrera.
http://wiki.apache.org/hadoop/HarmonyBuild

--------------------------------------------------

New page:
= Building HS, etc =

Building Apache Harmony or Harmony Select for Linux as outlined in the 
[[http://harmony.apache.org/quickhelp_contributors.html|Project Downloads 
page]] is straightforward if you are using a Debian or Ubuntu distribution and 
it becomes tricky when dealing with SuSE Linux Enterprise (SLE). Problems arise 
when obtaining the libraries needed to build, since the packages listed on the 
prerequisites page are Debian packages. These do not always contain the same 
libraries or header files than in SLE packages.

=== Prerequisites for SLE v. 11 ===
 * libjpeg-devel-6.2.0-843.47.i586.rpm
 * liblcms-devel-1.17-44.55.i586.rpm
 * libpng12-0-1.2.39-2.2.i586.rpm
 * libpng-devel-1.2.39-2.2.i586.rpm
 * libuuid-devel-1.41.1-11.9.i586.rpm
 * libXft-devel-2.1.13-2.1.moblin2.i386.rpm
 * xorg-x11-devel-7.4-8.1.i586.rpm
 * xorg-x11-fonts-devel-7.4-1.23.i586.rpm
 * xorg-x11-libfontenc-devel-7.4-1.23.i586.rpm
 * xorg-x11-libICE-devel-7.4-1.24.i586.rpm
 * xorg-x11-libSM-devel-7.4-1.26.i586.rpm
 * xorg-x11-libX11-devel-7.4-1.25.i586.rpm
 * xorg-x11-libXau-devel-7.4-1.23.i586.rpm
 * xorg-x11-libxcb-devel-7.4-1.24.i586.rpm
 * xorg-x11-libXdmcp-devel-7.4-1.23.i586.rpm
 * xorg-x11-libXext-devel-7.4-1.25.i586.rpm
 * xorg-x11-libXfixes-devel-7.4-1.24.i586.rpm
 * xorg-x11-libxkbfile-devel-7.4-1.25.i586.rpm
 * xorg-x11-libXmu-devel-7.4-1.26.i586.rpm
 * xorg-x11-libXp-devel-7.4-1.25.i586.rpm
 * xorg-x11-libXpm-devel-7.4-1.27.i586.rpm
 * xorg-x11-libXprintUtil-devel-7.4-1.26.i586.rpm
 * xorg-x11-libXrender-devel-7.4-1.24.i586.rpm
 * xorg-x11-libXt-devel-7.4-1.26.i586.rpm
 * xorg-x11-libXv-devel-7.4-1.25.i586.rpm
 * xorg-x11-proto-devel-7.4-1.27.i586.rpm
 * xorg-x11-util-devel-7.4-1.22.i586.rpm
 * xorg-x11-xtrans-devel-7.4-4.12.i586.rpm

Note the versions are also important, as the files included in packages change 
with versions.

=== Building Harmony ===
 1. Install Apache Ant 1.8.1 (version is important, as earlier versions might 
create errors).
 2. Obtain the source code {{{ 
% svn co -r 1022139 
https://svn.apache.org/repos/asf/harmony/enhanced/java/branches/java6 }}}
 3. Install patch [[https://issues.apache.org/jira/browse/HARMONY-6675| 
HARMONY-6675]] {{{
% patch -s < patchfile }}}
 4. Build {{{ 
% ant -Dauto.fetch=true all }}}

=== Building Harmony Select ===
If you successfully built Harmony, you should be able to build Harmony Select 
with the following: {{{
 % ant -Dauto.fetch=true all -Dhy.select=true }}}

Reply via email to