Compile OpenSER

From OnnoWiki
Revision as of 05:25, 11 March 2008 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

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
#