====== Compiling Greenstone3 ====== For the Greenstone2 version, see [[compiling_greenstone2 | Compiling Greenstone2]]. =====Unix===== ==== Ubuntu ==== Note: You need java from the [[http://java.sun.com/javase/downloads/index.jsp|sun website]], **not** from the ''sun-java6-jdk'' package. Download a jdk binary installer from the sun website to a location like ''~/jdk-6u5-linux-i586.bin''. Then install java: chmod +x ~/jdk-6u5-linux-i586.bin cd /usr/local sudo ~/jdk-6u5-linux-i586.bin export JAVA_HOME=/usr/local/jdk1.6.0_05 export PATH=$JAVA_HOME/bin:$PATH Install some required packages sudo apt-get update sudo apt-get install build-essential subversion ant autoconf sudo apt-get upgrade Checkout and install Greenstone3 svn co http://svn.greenstone.org/greenstone3/trunk greenstone3 cd greenstone3 ant gedit build.properties (edit as needed, changing port number for tomcat, etc) ant prepare install