Compiling Greenstone2 on Ubuntu

From GreenstoneWiki

Revision as of 23:53, 30 March 2010 by Oranfry (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
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
./configure
make
make install
Personal tools