Difference between revisions of "Compile OpenSER"

From OnnoWiki
Jump to navigation Jump to search
Line 1: Line 1:
 
Siapkan software pendukung
 
Siapkan software pendukung
  
# apt-get install libperl5.8 libperl-dev
+
# apt-get install flex bison bison++ gcc make
# apt-get install libxmlrpc-c3 libxmprpc-c3-dev
+
# apt-get install libperl5.8 libperl-dev
# apt-get install unixodbc unixodbc-dev
+
# apt-get install libxmlrpc-c3 libxmprpc-c3-dev
# apt-get install libradiusclient-ng2 libradiusclient-ng-dev
+
# apt-get install unixodbc unixodbc-dev
# apt-get install libxml2
+
# apt-get install libradiusclient-ng2 libradiusclient-ng-dev
# apt-get install openssl libsctp1 libsctp-dev
+
# apt-get install libxml2
# apt-get install libexpat1 libexpat1-dev
+
# apt-get install openssl libsctp1 libsctp-dev
# apt-get install libldap2 libldap2-dev
+
# apt-get install libexpat1 libexpat1-dev
 
+
# apt-get install libldap2 libldap2-dev
- gcc / suncc / icc
+
# apt-get install libsnmp10 libsnmp-dev
- bison or yacc
+
# apt-get install libconfuse0 libconfuse-dev
- flex
+
# apt-get install libmysqlclient15off libmysqlclient15-dev mysql-client-5.0 mysql-server
- GNU make (on Linux this is the standard "make", on FreeBSD and Solaris is
+
# apt-get install zlib1g zlib1g-dev
  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
 
  
 +
Jika kita ingin menggunakan PostgresQL
  
 +
# apt-get install libpq5 libpq-dev
  
 
Ambil source code dari
 
Ambil source code dari

Revision as of 05:35, 11 March 2008

Siapkan software pendukung

# apt-get install flex bison bison++ gcc make
# apt-get install libperl5.8 libperl-dev
# apt-get install libxmlrpc-c3 libxmprpc-c3-dev
# apt-get install unixodbc unixodbc-dev
# 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
# apt-get install libsnmp10 libsnmp-dev
# apt-get install libconfuse0 libconfuse-dev
# apt-get install libmysqlclient15off libmysqlclient15-dev mysql-client-5.0 mysql-server
# apt-get install zlib1g zlib1g-dev

Jika kita ingin menggunakan PostgresQL

# apt-get install libpq5 libpq-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
#