Warning: This page is part of Greenstone's old deprecated wiki. Please visit the new wiki at wiki.greenstone.org/doku.php

Compiling Greenstone2 on Ubuntu

From GreenstoneWiki

Jump to: navigation, search

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
make install
Personal tools