1.安装基础组件
sudo apt-get install flex bison
sudo apt-get install libtool
sudo apt-get install zlib1g-dev
sudo apt-get install libssl-dev
2.下载并安装gsoap源代码
tar -xvf gsoap_2.8.66.zip
./configure
make
这一步报错:找不到 xlocale.h
解决:更改configure文件,
找到:
if test "${enable_c_locale+set}" = set; then :
并改为(去掉满足if的执行语句,将else的执行放到这里面,如下):
if test "${enable_c_locale+set}" = set; then :
with_no_c_locale="yes"
fi
3.sudo make install