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