This page is in the 'old' namespace, and was imported from our previous wiki. We recommend checking for more up-to-date information using the search box.

Compiling Greenstone2 on Ubuntu

You need to set JAVA_HOME to the actual root of the jdk, eg "/usr/lib/jvm/java-6-sun". JAVA_HOME cannot be left empty or be set to /usr.

Install some required packages

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential subversion gettext

Checkout and install Greenstone. Installing to /usr/local in this example.

cd /usr/local
svn co http://svn.greenstone.org/gsdl/trunk gsdl

cd gsdl
./configure
make
make install