Compile OpenSER
Siapkan software pendukung
- gcc / suncc / icc : gcc >= 2.9x; 4.[012] recommended (it will work with
older version but it might require some options tweaking for best performance)
- bison or yacc (Berkley yacc) - flex - GNU make (on Linux this is the standard "make", on FreeBSD and Solaris is
called "gmake") version >= 3.79.
- sed and tr (used in the makefiles) - GNU tar ("gtar" on Solaris) and gzip if you want "make tar" to work - GNU install or BSD install (on Solaris "ginstall") if you want "make
install", "make bin", "make sunpkg" to work
- openssl if you want to compile the TLS support - libsctp if you want to compile the SCTP support - libmysqlclient & libz (zlib) -libs and devel headers- if you want mysql DB
support (the mysql module)
- libpq / postgresql -libs and devel headers- if you want postgres DB
support (the postgres module)
- unixodbc -libs and devel headers- if you want unixodbc DB
support (the unixodbc module)
- libexpat if you want the jabber gateway support (the jabber module) or the
XMPP gateway support
- libxml2 if you want to use the cpl-c (Call Processing Language) or
the presence modules (presence and pua*)
- libradius-ng -libs and devel headers- if you want to use functionalities
with radius support - authentication, accounting, group support, etc
- unixodbc - libs and devel headers - if you want UNIXODBC support as
DB underlayer
- libxmlrpc-c3 - libs and devel headers - if you want to have XML-RPC support
for the Management interface (MI)
- libperl - libs and devel headers - if you want PERL connector to support
perl scripting from you config file (perl module)
- libsnmp9 - libs and devel headers - if you want SNMP client functionality
(SNMP AgentX subagent) for openser
- libldap libs and devel headers v2.1 or greater - if you want LDAP support - libconfuse
libconfuse-dev
Ambil source code dari
http://www.openser.org/pub/openser/latest/src/
Lakukan
# cp openser-1.3.0-notls_src.tar.gz /usr/local/src/ # cd /usr/local/src/ # tar zxvf openser-1.3.0-notls_src.tar.gz # cd openser-1.3.0-notls #