Installation Intructions FreeBSD

The installation procedure includes 5 steps described below:

  • Step 1. Prerequisites

  • Step 2. Install dependencies

  • Step 3. Install SIP SIMPLE client

Step 1. Prerequisites

You must install the C compiling environment, python 2.5 and the following packages:

  • gnutls >=2.4.1

  • libxml2 >=2.6.32

  • libxslt >=1.1.24

  • python-setuptools =>0.6c9

Install subversion and darcs version control tools. Darcs is available a port or directly from http://darcs.net.

portinstall devel/darcs devel/subversion lang/ghc \
security/gnutls textproc/libxml2 textproc/libxslt devel/py-setuptools \
devel/gmake security/py-gnutls

Step 2. Install dependencies

You can use the easy_install script provided by the python-setuptools package to install and/or update the dependencies:

easy_install -U lxml cython==0.11.2 python-application dnspython twisted py zope.interface

Or you can install the following packages from source, notice the minimum version numbers:

Download and install dependencies available in AG Projects repositories:

# python-eventlet
if [ -d python-eventlet ]; then
        cd python-eventlet
        darcs pull -a
        sudo python setup.py install
else
        darcs get http://devel.ag-projects.com/repositories/python-eventlet
        cd python-eventlet
        sudo python setup.py install
fi
cd ..


# python-xcaplib
if [ -d python-xcaplib ]; then
    cd python-xcaplib
    darcs pull -a
    sudo python setup.py install
else
    darcs get http://devel.ag-projects.com/repositories/python-xcaplib
    cd python-xcaplib
    sudo python setup.py install
fi
cd ..

# python-msrplib
if [ -d python-msrplib ]; then
    cd python-msrplib
    darcs pull -a
    sudo python setup.py install
else
    darcs get http://devel.ag-projects.com/repositories/python-msrplib
    cd python-msrplib
    sudo python setup.py install
fi
cd ..

Step 3. Install SIP SIMPLE client

if [ -d python-sipsimple ]; then
        cd python-sipsimple
        darcs pull -a
else
        darcs get http://devel.ag-projects.com/repositories/python-sipsimple
fi
cd..

Build and install the library system wide:

cd python-sipsimple
sudo python setup.py install