Installing gsoap-2.8 in CentOS 6.4

이번에 새로 입사한 회사에서 CentOS를 기반으로 작업을 하는 관계로… 오랫만에 CentOS 에서 작업을 하게 되었다.

처음 셋팅을 하면서 여러번의 삽질이 있었는데.. 그중에서도 gsoap 설치와 관련하여 삽질이 있어 여기에 포스팅을 한다.

이번에 gsoap-2.8 을 소스 설치를 하게 되었는데.. 결론은 다음의 패키지 항목들이 필요했다.

yum install gcc gcc-c++ flex* byacc* bison*

About me

Sungtae Kim

226110_1025830692154_3335_n2010, At laboratory.

Contact

Email: pchero21 at gmail dot com

Private wiki: http://wiki.pchero21.com

Github: https://github.com/pchero

Linkedin: https://linkedin.com/pub/sung-tae-kim/71/51/413

My Ethos

    • Simple, meaningful programs can help people.
    • Noble programs deserve good results.
    • Simple is the best.
    • There is no time like the present.

My Story

Since I was young, I decided to try my hand at computer programming because I thought it would be a challenge and I was curious.

It was an itch, I guess. There was creativity in my bones and as it turns out, making things with programs was what I was made to do.

Until now, I’ve been completely devoted to satisfying my curiosity, sweating out the details, and appreciating program more and more.

I enjoy working on all types of projects, but the work that I get most excited about usually involves Unix/Linux projects, fixing broken systems, and making people happier than they were before.

While there is no shortage of ideas for what we can do with the web and new technology, I’m mostly interested in what we should do with it. I want to help people. I want to change the world a little bit. I want to do work that matters.

What I Do

I am a Unix/Linux/VoIP/SIP system programmer.

The disciplines I enjoy most on a project is a strategy, information architecture, and creative ways of innovation.

In other words, I like helping people solidify their ideas or needs, sketching out some helpful ideas, then delivering the best possible working program to them.

I like to contribute the code to the open source, and spending most of the spare time to the Asterisk(https://www.asterisk.org/).

History

MessageBird.  (2018.10 – Now) / Amsterdam, Netherlands

http://messagebird.com (Dutch/English),
Amsterdam, Netherlands
Voice engineer

Work
Voice Engineer

Work Detail
Focusing on the Asterisk/Kamailio in scale.
: call quality, monitoring, deployment.

Focusing on the Restful API server development in scale.
: maintaining the features.

IP Vision A/S.  (2013.12 – 2018.02) / Naerum, Denmark

ipvision_logohttp://ipvision.dk (Danish),
https://www.facebook.com/ipvisiondk (Danish)

Naerum, Denmark
CTI system programmer.

Work
Linux server side programming.
Asterisk/Freeswitch
C, Python, Ruby
Voicemail service, CDR(Call detail record) service.
Recommendation_ipvision_20171102

Nexus Community co., ltd.  (2010.05 – 2013.10) / Seoul, Korea

559072_341685055883944_135060589_nhttp://nexus.co.kr, http://support.nexus.co.kr/en/nexus/index/index.php (English)

Main system developer.

CIOD system (CTMP Intelligence Outbound Dialer) main developer.

MCSD system (Intelligence Call Distibutor) main developer.

Chief editor of operating manuals.

 

Programming skills.

    C/C++, Shell script, Python, PL/SQL(Oracle, Sybase..), TCP/IP, Voice Communications

    Manipulated *nix, Linux, Windows servers, Databases ie., Oracle, Sybase, MySQL.. etc

    Manipulated STL, algorithm, and IPC.

    Overseas development (China and Japan – speaking in English).

 

Trouble Shooting

    Solving dialing errors and system linked errors, etc.

    Immediate support in emergency situation.

 

System Migration

   Support system migration to a new server such as AIX to HP-UX

   Making a database library such as altibase, mysql… etc.

 

Editing System Operating Manuals

Edited manuals for outbound call service system.

   Distributed manuals, during May. 2012 ~ Dec.2012 over 70 updates.

   After solving major problems, I made a trouble shooting guideline to prevent recurring problems.

 
 

Vancouver Koreatimes co., ltd (2010.02 – 2010.04) / Vancouver, Canada

Vancouver  http://www.ikoreatimes.com

Server administrator

 
 
 

Hidom co., ltd. (2006.04 – 2007.03) / Seoul, Korea

hidom_logo  http://hidom.com

IDC(Internet Data Center) system operator.

Volunteer Experience

Opensource code contributor
Digium
Feb 2015 – Present
– Made a patch for the bug fix and new features.
– Patch accepted for the Asterisk-11/13/14/15/16
https://gerrit.asterisk.org/q/owner:pchero21%2540gmail.com

Certifications

Digium Certified Asterisk Administrator (dCAA)

Issued on Jan.2015
Issued by Digium(http://www.digium.com)

6.00.2x Introduction to Computational Thinking and Data Science

Issued on Dec.2014
Issued by MITx(https://www.edx.org/school/mitx)
Certificate ID Number : 1fcbb32b99804e0caf0d99a5705c469c
Link: https://verify.edx.org/cert/1fcbb32b99804e0caf0d99a5705c469c

6.00.1x: Introduction to Computer Science and Programming Using Python

Issued on Aug.2014
Issued by MITx(https://www.edx.org/school/mitx)
Certificate ID Number : f70698a4b08b463e85dd5dd0a2e9dbc1
Link: https://verify.edx.org/cert/f70698a4b08b463e85dd5dd0a2e9dbc1

SUSE 11 Tech Spec

Issued on Feb.2011
Issued by SUSE Linux(https://www.suse.com/)
Certificate ID Number: 10142638

SUSE CLA 11 Certification

Issued on Feb.2011
Issued by SUSE Linux(https://www.suse.com/)
Certificate ID Number: 10142638

Engineer Information Processing

Issued on Nov.2009
Issued by Human Resources Development of Korea(http://www.hrdkorea.or.kr/)

LPIC-1

Issued on Dec.2008
Expired Ooc.2013
Issued by Linux Professional Institute(https://www.lpi.org/)
Certificate ID Number: LPI000163773

Asterisk 설치

다음의 순서로 작업을 시작했다.

jonathan@MyWork:~/workspace/09.ETC$ mkdir Asterisk
jonathan@MyWork:~/workspace/09.ETC$ cd Asterisk/
jonathan@MyWork:~/workspace/09.ETC/Asterisk$ ls
jonathan@MyWork:~/workspace/09.ETC/Asterisk$ wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-12-current.tar.gz
--2013-09-11 15:39:37--  http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-12-current.tar.gz
Resolving downloads.asterisk.org (downloads.asterisk.org)... 76.164.171.238, 2001:470:e0d4::ee
Connecting to downloads.asterisk.org (downloads.asterisk.org)|76.164.171.238|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 56720157 (54M) [application/x-gzip]
Saving to: 'asterisk-12-current.tar.gz'

100%[=====================================================================================================================>] 56,720,157  54.1KB/s   in 17m 6s 

2013-09-11 15:56:44 (54.0 KB/s) - 'asterisk-12-current.tar.gz' saved [56720157/56720157]

jonathan@MyWork:~/workspace/09.ETC/Asterisk$ ls
asterisk-12-current.tar.gz
jonathan@MyWork:~/workspace/09.ETC/Asterisk$ tar xvfz asterisk-12-current.tar.gz 

그리고 configure 작업을 위해, 다음의 패키지들을 설치해주었다.

jonathan@MyWork:~/workspace/09.ETC/Asterisk/asterisk-12.0.0-alpha1$ sudo apt-get install uuid-dev libjansson-dev libxml2-dev sqlite3 libsqlite3-dev

configure 완료.

configure: Menuselect build configuration successfully completed

               .$$$$$$$$$$$$$$$=..      
            .$7$7..          .7$$7:.    
          .$$:.                 ,$7.7   
        .$7.     7$$$$           .$$77  
     ..$$.       $$$$$            .$$$7 
    ..7$   .?.   $$$$$   .?.       7$$$.
   $.$.   .$$$7. $$$$7 .7$$$.      .$$$.
 .777.   .$$$$$$77$$$77$$$$$7.      $$$,
 $$$~      .7$$$$$$$$$$$$$7.       .$$$.
.$$7          .7$$$$$$$7:          ?$$$.
$$$          ?7$$$$$$$$$$I        .$$$7 
$$$       .7$$$$$$$$$$$$$$$$      :$$$. 
$$$       $$$$$$7$$$$$$$$$$$$    .$$$.  
$$$        $$$   7$$$7  .$$$    .$$$.   
$$$$             $$$$7         .$$$.    
7$$$7            7$$$$        7$$$      
 $$$$$                        $$$       
  $$$$7.                       $$  (TM)     
   $$$$$$$.           .7$$$$$$  $$      
     $$$$$$$$$$$$7$$$$$$$$$.$$$$$$      
       $$$$$$$$$$$$$$$$.                

configure: Package configured for: 
configure: OS type  : linux-gnu
configure: Host CPU : i686
configure: build-cpu:vendor:os: i686 : pc : linux-gnu :
configure: host-cpu:vendor:os: i686 : pc : linux-gnu :

make 를 하자.

jonathan@MyWork:~/workspace/09.ETC/Asterisk/asterisk−12.0.0−alpha1$ make
jonathan@MyWork:~/workspace/09.ETC/Asterisk/asterisk−12.0.0−alpha1$ sudo make install
 +---- Asterisk Installation Complete -------+
 +                                           +
 +    YOU MUST READ THE SECURITY DOCUMENT    +
 +                                           +
 + Asterisk has successfully been installed. +
 + If you would like to install the sample   +
 + configuration files (overwriting any      +
 + existing config files), run:              +
 +                                           +
 +                make samples               +
 +                                           +
 +-----------------  or ---------------------+
 +                                           +
 + You can go ahead and install the asterisk +
 + program documentation now or later run:   +
 +                                           +
 +               make progdocs               +
 +                                           +
 + **Note** This requires that you have      +
 + doxygen installed on your local system    +
 +-------------------------------------------+
마지막으로 기본 Test와 문서 작성을 위해서 make samples 와 make progdocs 를 입력하자.
jonathan@MyWork:~/workspace/09.ETC/Asterisk/asterisk-12.0.0-alpha1$ sudo make progdocs 
jonathan@MyWork:~/workspace/09.ETC/Asterisk/asterisk-12.0.0-alpha1$ sudo make samples