/[resiprocate]/main/INSTALL
ViewVC logotype

Contents of /main/INSTALL

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9718 - (show annotations) (download)
Thu May 24 13:08:05 2012 UTC (7 years, 2 months ago) by sgodin
File size: 1991 byte(s)
-removed svn-merginfo svn property from some files
-added eol-style native svn property to some files
1
2
3 a) If using source code from the repository (not a tarball download),
4 you must bootstrap the source tree:
5
6 autoreconf --install
7
8 This must be done:
9 - after checking out the code for the first time
10 - after changing configure.ac or any Makefile.am file
11
12 NOTE: the bootstrap process only works reliably when using the same
13 (or a very similar) version of autotools as the officially
14 tested reSIProcate releases. The official releases are
15 bootstrapped using autotools on a Debian 6.0 (squeeze) system.
16
17 b) Run configure:
18
19 e.g. on a Debian system:
20
21 ./configure --with-ssl --with-mysql --with-c-ares \
22 CXXFLAGS="-DRESIP_FIXED_POINT"
23
24 NOTE: some things (e.g. reTurnServer) will ONLY build if you
25 specify --with-ssl to link against SSL libraries
26
27 A more complete example, with tfm:
28
29 ./configure \
30 --with-ssl --with-mysql --with-radius --with-tfm \
31 --enable-ipv6 \
32 CXXFLAGS="-I`pwd`/contrib/Netxx-0.3.2/include" \
33 LDFLAGS="-L`pwd`/contrib/Netxx-0.3.2/src"
34
35 (hint: if it fails to link against libNetxx.so, create a symlink, or
36 delete libNetxx.so and it should link against libNetxx.a)
37
38 OR (using contrib/ares)
39
40 ./configure --with-ssl --with-mysql --enable-ipv6 --with-popt"
41
42 c) Build everything:
43
44 make
45
46 or to build just one thing:
47
48 make -C rutil
49
50 and if you have multiple CPUs/CPU-cores/hyper-threading, you can build
51 faster by telling make to use them in parallel, e.g.:
52
53 make -j 12
54
55 d) Test it, e.g. to test rutil:
56
57 make -C rutil check
58
59 e) Install somewhere:
60
61 mkdir /tmp/my-resip && make DESTDIR=/tmp/my-resip install
62
63 Supported Systems
64 -----------------
65
66 Supported Platforms: (to add new platform support see build/Makefile.osarch)
67 FreeBSD
68 Linux
69 QNX
70 SunOS
71 Mac
72 cygwin
73
74 Supported toolchains: (to add new toolchain support see build/Makefile.tools)
75 gnu (g++)
76 Intel (icc)
77 ARM cross-compiler (arm-linux-g++)
78 Sunpro (CC)
79

Properties

Name Value
svn:eol-style native

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.26