Project

General

Profile

InstallFreeBSD » History » Version 1

Adrian Georgescu, 03/22/2009 11:20 AM

1 1 Adrian Georgescu
Installation procedure for SIP SIMPLE client on FreeBSD
2
-----------------------------------------------------
3
4
The installation procedure includes 5 steps described below:
5
6
Step 1. Prerequisites
7
Step 2. Install dependencies
8
Step 3. Install SIP SIMPLE client
9
10
11
Step 1. Prerequisites
12
---------------------
13
14
You must install the C compiling environment, python 2.5 and the following
15
packages:
16
17
gnutls >=2.4.1, libxml2 >=2.6.32, libxslt >=1.1.24, python-setuptools =>0.6c9
18
19
Install subversion and darcs version control tools. Darcs is
20
available a port or directly from http://darcs.net.
21
22
portinstall devel/darcs devel/subversion lang/ghc \
23
security/gnutls textproc/libxml2 textproc/libxslt devel/py-setuptools \
24
devel/gmake security/py-gnutls
25
26
27
Step 2. Install dependencies
28
----------------------------
29
30
You can use the easy_install script provided by the python-setuptools
31
package to install and/or update the dependencies:
32
33
easy_install -U lxml cython python-application dnspython twisted py zope.interface
34
35
Or you can install the following packages from source, notice the minimum
36
version numbers:
37
38
python-gnutls       http://pypi.python.org/simple/python-gnutls       >=1.1.6
39
python-lxml         http://codespeak.net/lxml                         >=2.1.2
40
cython              http://www.cython.org                             >=0.10
41
python-application  http://pypi.python.org/simple/python-application  >=1.1.0
42
dnspython           http://www.dnspython.org                          >=1.6.0
43
twisted             http://twistedmatrix.com/trac                     >=8.1.0
44
pylib               http://codespeak.net/py                           >=0.9.2
45
zope-interface      http://www.zope.org                               >=3.3.1
46
47
Download and install dependencies available in AG Projects repositories:
48
49
# eventlet for twisted
50
wget http://download.ag-projects.com/EventletTwisted/eventlet-0.9pre.tar.gz
51
tar -xf eventlet-0.9pre.tar.gz
52
cd eventlet-0.9pre
53
sudo python setup.py install
54
cd ..
55
56
# python-xcaplib
57
if [ -d python-xcaplib ]; then
58
        cd python-xcaplib
59
        darcs pull -a
60
        sudo python setup.py install
61
else
62
        darcs get http://devel.ag-projects.com/repositories/python-xcaplib
63
        cd python-xcaplib
64
        sudo python setup.py install
65
fi
66
cd ..
67
68
# python-msrplib
69
if [ -d python-msrplib ]; then
70
        cd python-msrplib
71
        darcs pull -a
72
        sudo python setup.py install
73
else
74
else
75
        darcs get http://devel.ag-projects.com/repositories/python-msrplib
76
        cd python-msrplib
77
        sudo python setup.py install
78
fi
79
cd ..
80
81
82
Step 3. Install SIP SIMPLE client
83
---------------------------------
84
85
Download SIP SIMPLE client sources. Run the next step once:
86
87
darcs get http://devel.ag-projects.com/repositories/python-sipsimple
88
89
The software is downloaded under python-sipsimple directory. To update it at
90
a later time:
91
92
cd python-sipsimple
93
darcs pull -a
94
95
Build and install the software library:
96
97
cd python-sipsimple
98
sudo python setup.py install