Opensips

Hello Everyone,

I've decided to take on the task of installing opensips and play around with it. This thread's goal is to try and validate the install procedure on opensips.org's site which will hopefully help others attempting to do the same install.

The process that I will be using is from the following link:
http://opensips.svn.sourceforge.net/viewvc/opensips/trunk/INSTALL

Before even starting the install process, I noticed that I'm already stuck at section 1 (Verifying Requirements).

Requirements:
- 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 db_mysql module)
- libpq / postgresql -libs and devel headers- if you want postgres DB
support (the db_postgres module)
- unixodbc -libs and devel headers- if you want unixodbc DB
support (the db_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 opensips
- libldap libs and devel headers v2.1 or greater - if you want LDAP support
- libconfuse and devel headers - if you want to compile the carrierroute
module

OS Notes:

- FreeBSD/OpenBSD/NetBSD: make sure gmake, bison or yacc & flex are installed

I started checking my system to see if I have what's required however I'm unsure on how to proceed with the installation of certaine libraries.

For example, I have confirmed the following requirements:

Code:
test# whereis gcc
gcc: /usr/bin/gcc /usr/share/man/man1/gcc.1.gz

test# whereis sed
sed: /usr/bin/sed /usr/share/man/man1/sed.1.gz /usr/ports/japanese/sed

test# whereis tr
tr: /usr/bin/tr /usr/share/man/man1/tr.1.gz

test# whereis yacc
yacc: /usr/bin/yacc /usr/share/man/man1/yacc.1.gz

I'm a little confused when it comes to confirming that i have this requirement:

GNU tar ("gtar" on Solaris) and gzip if you want "make tar" to work

Do I need to install gtar from ports?

Code:
test# whereis gtar
gtar: /usr/ports/archivers/gtar

test# whereis gzip
gzip: /usr/bin/gzip /usr/share/man/man1/gzip.1.gz /usr/ports/archivers/gzip

What are they referring to here?

- GNU install or BSD install (on Solaris "ginstall") if you want "make install", "make bin", "make sunpkg" to work

I'm also having a hard time finding information on installing libraries (e.g. libmysqlclient, libradius-ng -libs, devel headers)

Any help would be much appreciated?

Thanks,

Fatman
 
Back
Top