Difference between revisions of "Compile OpenSER"

From OnnoWiki
Jump to navigation Jump to search
(New page: 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) -...)
 
Line 1: Line 1:
 
Siapkan software pendukung
 
Siapkan software pendukung
  
- gcc / suncc / icc : gcc >= 2.9x; 4.[012] recommended (it will work with
+
# apt-get install libperl5.8 libperl-dev
  older version but it might require some options tweaking for best
+
# apt-get install libxmlrpc-c3 libxmprpc-c3-dev
  performance)
+
# apt-get install unixodbc unixodbc-dev
- bison or yacc (Berkley yacc)
+
# apt-get install libradiusclient-ng2 libradiusclient-ng-dev
 +
# apt-get install libxml2
 +
# apt-get install openssl libsctp1 libsctp-dev
 +
# apt-get install libexpat1 libexpat1-dev
 +
# apt-get install libldap2 libldap2-dev
 +
 
 +
- gcc / suncc / icc  
 +
- bison or yacc  
 
- flex
 
- flex
 
- GNU make (on Linux this is the standard "make", on FreeBSD and Solaris is
 
- GNU make (on Linux this is the standard "make", on FreeBSD and Solaris is
Line 12: Line 19:
 
- GNU install or BSD install (on Solaris "ginstall") if you want "make
 
- GNU install or BSD install (on Solaris "ginstall") if you want "make
 
   install", "make bin", "make sunpkg" to work
 
   install", "make bin", "make sunpkg" to work
- openssl if you want to compile the TLS support
+
- libmysqlclient & libz (zlib) -libs and devel headers
- libsctp if you want to compile the SCTP support
+
- libpq / postgresql -libs and devel headers-
- libmysqlclient & libz (zlib) -libs and devel headers- if you want mysql DB
+
- libsnmp9 - libs and devel headers  
  support (the mysql module)
+
- libldap libs and devel headers v2.1 or greater  
- 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
 
   libconfuse-dev
 
   libconfuse-dev

Revision as of 05:25, 11 March 2008

Siapkan software pendukung

  1. apt-get install libperl5.8 libperl-dev
  2. apt-get install libxmlrpc-c3 libxmprpc-c3-dev
  3. apt-get install unixodbc unixodbc-dev
  4. apt-get install libradiusclient-ng2 libradiusclient-ng-dev
  5. apt-get install libxml2
  6. apt-get install openssl libsctp1 libsctp-dev
  7. apt-get install libexpat1 libexpat1-dev
  8. apt-get install libldap2 libldap2-dev

- gcc / suncc / icc - bison or 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

- libmysqlclient & libz (zlib) -libs and devel headers - libpq / postgresql -libs and devel headers- - libsnmp9 - libs and devel headers - libldap libs and devel headers v2.1 or greater - 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
#