First download the source code from Seagull Sourceforge project page.
[uttam@CentOS ~]$ wget http://kaz.dl.sourceforge.net/project/gull/seagull/1.8.2/seagull.svn.tar.gz
--2014-07-04 14:45:09-- http://kaz.dl.sourceforge.net/project/gull/seagull/1.8.2/seagull.svn.tar.gz
Resolving kaz.dl.sourceforge.net... 88.204.157.163
Connecting to kaz.dl.sourceforge.net|88.204.157.163|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14811741 (14M) [application/x-gzip]
Saving to: `seagull.svn.tar.gz'
100%[==============================================================================================================================>] 14,811,741 294K/s in 38s
2014-07-04 14:45:48 (383 KB/s) - `seagull.svn.tar.gz' saved [14811741/14811741]
Extract the archive
$tar -zxvf seagull.svn.tar.gz
$cd cd seagull.svn.LINUX/
If you are not using TCAP and SCTP, then you can comment the below lines in build.conf
else you need to install the relevent libraries.
else you need to install the relevent libraries.
# HP OC TCAP transport library
BUILD_8_NAME="libtrans_octcap.so"
BUILD_8_TYPE=tcap_lib
BUILD_8_MODULES="common transport-frame protocol-frame library-trans-octcap32"
# sctp transport library
BUILD_9_NAME="libtrans_extsctp.so"
BUILD_9_TYPE=libextsctp
BUILD_9_MODULES="common transport-frame protocol-frame library-trans-ip library-trans-extsctp"
BUILD_9_NAME="libtrans_extsctp.so"
BUILD_9_TYPE=libextsctp
BUILD_9_MODULES="common transport-frame protocol-frame library-trans-ip library-trans-extsctp"
Install external libraries
or
#yum install lksctp*
#yum install lksctp-tools-devel-*
or
[uttam@CentOS seagull.svn.LINUX]$ ./build-ext-lib.ksh
[uttam@CentOS seagull.svn.LINUX]$ patch < add-fPIC.patch
patching file build.conf
[uttam@CentOS seagull.svn.LINUX]$ ./build.ksh -help
Command line syntax of ./build.ksh - options
-exec <RELEASE|DEBUG> : mode used for compilation (default RELEASE)
-target <all|clean|force|dist> : target used for compilation (default all)
-help : display the command line syntax