linux基础学习之 gSOAP2.8.30在linux下的安装

gSOAP2.8.30 的下载地址:http://www.genivia.com/downloads.html


我的linux发行版本是ubuntu 10.04,在linux上安装gSOAP不能用apt-get install gsoap


根据gSOAP压缩包下的INSTALL.txt里面的要求:


Requirements to configure and build the package with autoconf/automake:

1. Automake tools (make and GNU m4) to configure and build
2. Bison http://www.gnu.org/software/bison or the alternative Yacc
3. Flex http://flex.sourceforge.net 
4a. either OpenSSL (for optional HTTPS) http://www.openssl.org
4b. or GNUTLS (for optional HTTPS) http://www.gnu.org/software/gnutls/
4c. or disable SSL support (./configure --disable-ssl)
5. Zlib (optional, to support compression) http://www.zlib.net
6. Pthreads or win32 threads (optional)


所以在安装gSOAP之前,需要提前在linux系统里安装好一些插件:


1、gcc

apt-get install g++


2、bison(bison和Yacc二选一)

apt-get install bison


3、flex

apt-get install flex


4、openssl

apt-get install openssl


5、openssl库文件

apt-get install libssl-dev


以上安装好了以后就可以开始安装gSOAP了。


1、解压后进入gsoap2.8


2、./configure –prefix=$(pwd)/_install 


3、make


4、make install


至此,安装完成。

你可能感兴趣的:(gsoap安装)