Ubuntu Linux 安装gSoap

本机linux环境为Ubuntu12.04 gSoap为gsoap_2.8.19

1、解压安装文件

$ uzip gsoap_2.8.19.zip

2、安装
进入解压后目录,执行

$ ./configure --disable-ssl LIBS=-ldl
$ make

中间遇到的问题:

1)yacc : commond not found

应该是相应链接工具没有,执行以下命令安装

$ apt-get install byacc

2)flex : commond not found
同上,执行

$ apt-get install flex

3)cannot find -ly

$ apt-get install -y bison

4)undefined reference to dlclose'dlopen’ `dlsym’
重复第一步为:

$ ./configure --with-openssl=/usr/local/openssl LIBS=-ldl

3 测试生成代码

$ wsdl2h -c -o  {aim.h} {source.wsdl}
$soapcpp2 {aim.h} -I ./

在当前文件夹下生成了相应代码。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值