Wednesday, March 11, 2009

Installing deliverance

Following the steps on the deliverance site didn't work for me: I get stuff like /usr/bin/ld: i386 architecture of input file ... is incompatible with i386:x86-64 output I'm guessing it's because i'm on a 64 bit platform, and the build doesn't take this into account. If you are on a 32 bit platform, the steps on the deliverance site may be easier for you.

To circumvent it, i installed deliverance from svn, using these steps:

# Get development libraries (i'm on Ubuntu)
sudo apt-get install libxml2-dev libxslt-dev
# Create virtualenv
virtualenv --no-site-packages deliverance_svn
cd deliverance_svn
# Install latest version of setuptools to prevent error "global name 'log' is not defined"
. bin/activate
easy_install -U setuptools
# Checkout deliverance from svn
sudo apt-get install subversion
svn co deliverance
cd deliverance
# Install deliverance
../bin/python install
# Install paster in virtualenv
../bin/easy_install PasteScript
cd ..
# Create deliverance instance
./bin/paster create -t deliverance DelivTest
# Answer the questions...
./bin/deliverance-proxy DelivTest/etc/deliverance.xml


Alex Thomas said...

Dank u Dank u!

U hebt opgeslagen me zoveel hoofd krabben ...

Hoop dat dit vertaald in orde, want ik ben het Engels.


KC Leong said...

Works perfect! Deliverance rocks!!