Monday, December 15, 2014

Building Seagull from source

First download the source code from Seagull Sourceforge project page.

[uttam@CentOS ~]$ wget
--2014-07-04 14:45:09--
Connecting to||: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.

# HP OC TCAP transport library
BUILD_8_MODULES="common transport-frame protocol-frame library-trans-octcap32"
# sctp transport library
BUILD_9_MODULES="common transport-frame protocol-frame library-trans-ip library-trans-extsctp"

Install external libraries

#yum install lksctp*
#yum install lksctp-tools-devel-*

[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

No comments:

Post a Comment