Configuring Ubuntu 6 For Harmony Development
These instructions presume a fresh install of Ubuntu 6 (although should work with other version) and that you have the ability to "sudo" or be root. These instructions work on both x86 and x86_64.
1) Install subversion, gcc, g++ and make:
$ sudo apt-get install subversion $ sudo apt-get install gcc $ sudo apt-get install g++ $ sudo apt-get install make
2) Install java : (1.5.0_9 from sun) : get from http://java.sun.com/ and install as you see fit. When done, the following should do the right thing in a shell :
$ java
3) Install ant (1.6.x) : get from http://ant.apache.org/ and install as you see fit. When done, the following should do the right thing in a shell :
$ ant
4) Get junit and drop the junit-X.jar into ant/lib (where X is the version of JUnit)
5) Install AWT/Swing deps
$ sudo apt-get install liblcms1-dev $ sudo apt-get install libpng12-dev $ sudo apt-get install libjpeg62-dev $ sudo apt-get install libx11-dev $ sudo apt-get install libxft-dev $ sudo apt-get install binutils-dev $ sudo apt-get install libxml2-dev $ sudo apt-get install libxtst-dev
Now you can continue with the build instructions as found at http://harmony.apache.org/quickhelp_contributors.html