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