InstallFreeBSD » History » Version 7
Adrian Georgescu, 12/09/2009 01:43 PM
1 | 3 | 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 | 4 | Adrian Georgescu | * gnutls >=2.4.1 |
16 | * libxml2 >=2.6.32 |
||
17 | * libxslt >=1.1.24 |
||
18 | * python-setuptools =>0.6c9 |
||
19 | 1 | Adrian Georgescu | |
20 | Install subversion and darcs version control tools. Darcs is |
||
21 | available a port or directly from http://darcs.net. |
||
22 | |||
23 | 4 | Adrian Georgescu | {{{ |
24 | 1 | Adrian Georgescu | portinstall devel/darcs devel/subversion lang/ghc \ |
25 | security/gnutls textproc/libxml2 textproc/libxslt devel/py-setuptools \ |
||
26 | devel/gmake security/py-gnutls |
||
27 | 4 | Adrian Georgescu | }}} |
28 | 1 | Adrian Georgescu | |
29 | |||
30 | 2 | Adrian Georgescu | == Step 2. Install dependencies == |
31 | 1 | Adrian Georgescu | |
32 | You can use the easy_install script provided by the python-setuptools |
||
33 | package to install and/or update the dependencies: |
||
34 | |||
35 | 4 | Adrian Georgescu | {{{ |
36 | 1 | Adrian Georgescu | easy_install -U lxml cython python-application dnspython twisted py zope.interface |
37 | 4 | Adrian Georgescu | }}} |
38 | 1 | Adrian Georgescu | |
39 | Or you can install the following packages from source, notice the minimum |
||
40 | version numbers: |
||
41 | |||
42 | 2 | Adrian Georgescu | * python-gnutls http://pypi.python.org/simple/python-gnutls >=1.1.6 |
43 | * python-lxml http://codespeak.net/lxml >=2.1.2 |
||
44 | * cython http://www.cython.org >=0.10 |
||
45 | * python-application http://pypi.python.org/simple/python-application >=1.1.0 |
||
46 | * dnspython http://www.dnspython.org >=1.6.0 |
||
47 | * twisted http://twistedmatrix.com/trac >=8.1.0 |
||
48 | * pylib http://codespeak.net/py >=0.9.2 |
||
49 | * zope-interface http://www.zope.org >=3.3.1 |
||
50 | 1 | Adrian Georgescu | |
51 | Download and install dependencies available in AG Projects repositories: |
||
52 | |||
53 | 2 | Adrian Georgescu | {{{ |
54 | 5 | Adrian Georgescu | # python-eventlet |
55 | if [ -d python-eventlet ]; then |
||
56 | cd python-eventlet |
||
57 | 7 | Adrian Georgescu | darcs pull -a |
58 | 1 | Adrian Georgescu | sudo python setup.py install |
59 | 5 | Adrian Georgescu | else |
60 | 7 | Adrian Georgescu | darcs get http://devel.ag-projects.com/repositories/python-eventlet |
61 | 1 | Adrian Georgescu | cd python-eventlet |
62 | sudo python setup.py install |
||
63 | 5 | Adrian Georgescu | fi |
64 | 7 | Adrian Georgescu | cd .. |
65 | |||
66 | 1 | Adrian Georgescu | |
67 | # python-xcaplib |
||
68 | if [ -d python-xcaplib ]; then |
||
69 | cd python-xcaplib |
||
70 | darcs pull -a |
||
71 | sudo python setup.py install |
||
72 | else |
||
73 | darcs get http://devel.ag-projects.com/repositories/python-xcaplib |
||
74 | cd python-xcaplib |
||
75 | sudo python setup.py install |
||
76 | fi |
||
77 | cd .. |
||
78 | |||
79 | # python-msrplib |
||
80 | if [ -d python-msrplib ]; then |
||
81 | cd python-msrplib |
||
82 | darcs pull -a |
||
83 | sudo python setup.py install |
||
84 | else |
||
85 | darcs get http://devel.ag-projects.com/repositories/python-msrplib |
||
86 | cd python-msrplib |
||
87 | sudo python setup.py install |
||
88 | fi |
||
89 | cd .. |
||
90 | }}} |
||
91 | |||
92 | |||
93 | == Step 3. Install SIP SIMPLE client == |
||
94 | |||
95 | 6 | Adrian Georgescu | {{{ |
96 | 5 | Adrian Georgescu | if [ -d python-sipsimple ]; then |
97 | cd python-sipsimple |
||
98 | darcs pull -a |
||
99 | else |
||
100 | darcs get http://devel.ag-projects.com/repositories/python-sipsimple |
||
101 | fi |
||
102 | cd.. |
||
103 | 6 | Adrian Georgescu | }}} |
104 | 2 | Adrian Georgescu | |
105 | 5 | Adrian Georgescu | Build and install the library system wide: |
106 | 1 | Adrian Georgescu | |
107 | 6 | Adrian Georgescu | {{{ |
108 | 2 | Adrian Georgescu | cd python-sipsimple |
109 | 1 | Adrian Georgescu | sudo python setup.py install |
110 | 6 | Adrian Georgescu | }}} |