The OceanStore Project
Source Installation HOWTO |
This page attempts to describe the information necessary for installing the OceanStore prototype from source using CVS. For information regarding our binary releases, look here.
The current prototype (Pond) builds and runs on Linux (Debian or RedHat). Other systems can probably be made to work, but are not yet supported. In any case, any system which supports SEDA and Java 1.4 should work just fine. (For instance, Solaris should be rather easy to port to, I would think.)
That said, the following is an outline of the steps you should take.
Per-machine installation
Per-user installation
Additional installation
cd ~
export CVSROOT=:pserver:anonymous@oceanstore.cvs.sourceforge.net:/cvsroot/oceanstore
cvs login
[no password]
cvs -z3 co pond
Example: export PATH=/usr/local/IBMJava2-141/bin:$PATH
cd ~/pond; ln -s ~/seda/src/seda; make;
If the compile fails due to linking errors, see the
following section.
cd ~
export CVSROOT=:pserver:anonymous@oceanstore.cvs.sourceforge.net:/cvsroot/oceanstore
cvs login
[no password]
cvs -z3 co dd
Example: export PATH=/usr/local/IBMJava2-141/bin:$PATH
cd ~
export CVSROOT=:pserver:anonymous@oceanstore.cvs.sourceforge.net:/cvsroot/oceanstore
cvs login
[no password]
cvs -z3 co soss
Example: export PATH=/usr/local/IBMJava2-141/bin:$PATH
cd ~
export CVSROOT=:pserver:anonymous@seda.cvs.sourceforge.net:/cvsroot/seda
cvs login
[no password]
cvs -z3 co seda
Example: export PATH=/usr/local/IBMJava2-141/bin:$PATH
cd ~/seda/src/seda; CLASSPATH=~/seda/src:. make;
ln -s ../../lib;
cd ~/seda/src/seda/sandStorm/lib/aSocket/nio;
CLASSPATH=~/seda/src:. make;
cd ~/seda/docs/javadoc; CLASSPATH=~/seda/src:. make
Ignore the resulting javadoc errors.
You can try running the regression tests to verify your installation.
The entire suite can be run as:
cd ~/pond/regression; ./run-tests
,
or you can try running individual scripts in that directory.
If the tests fail due to linking errors, see the
following section.
This step is required only if the included librairies do not run on
your machine. Any recent Linux/x86 machine should be fine.
The Berkeley DB code can be found
here. You will
need to build a shared library for the main distribution and the Java
interface. Place them somewhere in your LD_LIBRARY_PATH
,
such as ~/pond/lib
.
This step is required only if the included librairies do not run on
your machine. Any recent Linux/x86 machine should be fine.
The Cryptix JCE code can be found
here.You only need to
copy the JAR files from the bin
directory. Place them
in ~/pond/lib
.
GMP is a high-performance arithmetic library that vastly improves
the performance of cryptographic operations in OceanStore. It can be found
here.
Jikes compiles the repository many times faster than javac. It can be found
here.