您的位置:首页 > 运维架构 > Linux

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

2016-04-09 20:40 423 查看
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

至此,安装完成。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: