lib/doc subdirectory of main SER directory).Presence module dependecies may be found in sections PA module dependencies and RLS module dependencies. These modules depend on common libraries which have their own dependencies as mentioned below.
This library depends only on standard C libraries and needs no other external libraries.
libcds (distributed with SER)
libxml2 (external library for parsing XML documents)
libcurl3 (external library for HTTP operations)
There is an example of steps which need to be done while installing SER with shared libraries into directory /base/ser/directory (if no directory specified - no prefix parameter given - default value is used: /usr/local/)
Download current ser sources:
cvs -d :pserver:anonymous@cvs.berlios.de:/cvsroot/ser checkout sip_router
Compile and install libraries for usage with SER:
cd sip_router/lib
make -f Makefile.ser install prefix=/base/ser/directory
This procedure may fail in the case of unsatisfied library dependencies. You need to install all external libraries introduced in Section 3.1, “Dependencies”
Compile and install SER with presence modules
cd ..
make install include_modules="pa rls mysql" prefix=/base/ser/directory
There are snapshots of sources from CVS named "presence snapshots" on our FTP server ftp://ftp.iptel.org/pub/ser/presence/.
Presence snapshot contains example config files, has modified Makefiles for simplier compilation and installation and it is a bit tested for presence functions. Snapshot compiles only modules needed by presence!
There is an example of steps which need to be done while installing SER from presence snapshot into directory /base/ser/directory (if no directory specified - no prefix parameter given - default value is used: /usr/local/)
Download last versiom from ftp://ftp.iptel.org/pub/ser/presence/
Compile and install
make install prefix=/base/ser/directory
Linker used for dynamic linking must know, where to find these libraries.
This may be done by setting LD_LIBRARY_PATH before
startup.
export LD_LIBRARY_PATH=/base/ser/directory/lib/ser
/base/ser/directory/sbin/ser -f /base/ser/directory/etc/ser/ser.cfg