Project

General

Profile

InstallFreeBSD » History » Version 6

Adrian Georgescu, 04/16/2009 09:57 AM

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
        hg pull
58
        hg update
59
        sudo python setup.py install
60
else
61
        hg clone http://devel.ag-projects.com/~denis/cgi-bin/hgweb.cgi/eventlet_twisted python-eventlet
62
        cd python-eventlet
63
        sudo python setup.py install
64
fi
65 1 Adrian Georgescu
66
# python-xcaplib
67
if [ -d python-xcaplib ]; then
68
        cd python-xcaplib
69
        darcs pull -a
70
        sudo python setup.py install
71
else
72
        darcs get http://devel.ag-projects.com/repositories/python-xcaplib
73
        cd python-xcaplib
74
        sudo python setup.py install
75
fi
76
cd ..
77
78
# python-msrplib
79
if [ -d python-msrplib ]; then
80
        cd python-msrplib
81
        darcs pull -a
82
        sudo python setup.py install
83
else
84
        darcs get http://devel.ag-projects.com/repositories/python-msrplib
85
        cd python-msrplib
86
        sudo python setup.py install
87
fi
88
cd ..
89
}}}
90
91
92
== Step 3. Install SIP SIMPLE client ==
93
94 6 Adrian Georgescu
{{{
95 5 Adrian Georgescu
if [ -d python-sipsimple ]; then
96
        cd python-sipsimple
97
        darcs pull -a
98
else
99
        darcs get http://devel.ag-projects.com/repositories/python-sipsimple
100
fi
101
cd..
102 6 Adrian Georgescu
}}}
103 2 Adrian Georgescu
104 5 Adrian Georgescu
Build and install the library system wide:
105 1 Adrian Georgescu
106 6 Adrian Georgescu
{{{
107 2 Adrian Georgescu
cd python-sipsimple
108 1 Adrian Georgescu
sudo python setup.py install
109 6 Adrian Georgescu
}}}