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