Pre-requisites installation with toast
--------------------------------------

(as user icedb)

edit .bashrc:
export PATH=/opt/armed/bin:/opt/bin:$PATH
export PYTHONPATH=/usr/local/lib/python2.5/site-packages:/opt/armed/lib/python2.5/site-packages
export PERL5LIB=/opt/armed/lib/perl5/site_perl:/opt/lib/perl5/site_perl:$PERL5LIB
export ICEDB_DATA_DIR=/var/lib/icedb

(as root)

wget -O- http://toastball.net/toast/toast|perl -x - arm toast

toast arm python/2.5.1: 'http://python.org/ftp/python/2.5.1/Python-2.5.1.tar.bz2'
verify that the current user now uses this python

toast arm postgresql/8.2.4: 'http://wwwmaster.postgresql.org/redir?setmir=198&typ=h&url=http://ftp9.us.postgresql.org/pub/mirrors/postgresql//source/v8.2.4/postgresql-8.2.4.tar.bz2'

(python)

toast arm 'http://download.berlios.de/gpsd/gpsd-2.34.tar.gz'

toast arm pyparsing

toast arm 'http://www.jorendorff.com/articles/python/path/path-2.2.zip'

toast arm 'http://cheeseshop.python.org/packages/source/a/argparse/argparse-0.7.0.zip'

scp /toast/pkg/psyco/v1.5.2-svn-20070516/archive/psyco-1.5.2-svn-20070516.tgz golf:/distro/images/kevin/root/pkg/
toast arm psyco-*tgz

svn co python-commons
./setup.bash -d -p /opt/python-commons

(python, from harvard)
cd ~/work/af
tar czf af.tgz af
scp af.tgz /distro/images/kevin/root/pkg
(from golf)
mkdir -p python-af/lib/python2.5/site-packages/
tar xzf ~/pkg/af.tgz 
##svn co python-af

(python-af, python-commons)
svn co https://assorted.svn.sourceforge.net/svnroot/assorted/python-afx/trunk afx
./setup.bash -d -p /opt/python-afx

wget 'http://www.zope.org/Products/Zope3/3.3.1/Zope-3.3.1.tgz'
tar xzf Zope*
cd Zope*
./configure --with-python=/usr/local/bin/python --prefix=/opt/zope-3.3.1
make
sudo make install
sudo mkdir /opt/zope-3.3.1/lib/python2.5
sudo ln -s /opt/zope-3.3.1/lib/{python,python2.5/site-packages}
cd /opt
shopt -s extglob
sudo stow -t /opt/armed/ !(armed)

(zope, from harvard)
scp /toast/pkg/twisted/v2.5-svn-20070511/archive/twisted-2.5-svn-20070511.tar.bz2 golf:/distro/images/kevin/root/pkg/
toast arm twisted-2.5.-svn-20070511.tar.bz2

(python-commons, twisted)
svn co pycaf
./setup.bash -d -p /opt/cafnet

(python, postgresql)
wget 'ftp://ftp.pygresql.org/pub/distrib/PyGreSQL.tgz'
tar xzf PyG*
cd PyG*
python setup.py build
python setup.py install --prefix=/opt/pygresql-3.8.1

(finally)
svn co icedb
./setup.bash -d -p /opt/icedb
mkdir -p /var/lib/icedb
chown icedb /var/lib/icedb
(as icedb; make sure env vars are set as abovee)
./setup-vardata.bash -d

(RUN IT)
mount -t proc proc /proc
icedb-setup device cluster
icedb-setup device db
icedb-device
