参考博客:

CentOS编译安装gSOAP

Linux C实现webservice调用 安装gsoap流程  里面提到make时可能碰到的问题 还没有用到

1、从官网下载最新的版本:http://sourceforge.net/projects/gsoap2/files/ ,目前版本是2.8.23。

2、编译安装:

(1)配置安装路径:#./configure --prefix=/usr/local/gSOAP

(2)#make

#make install

3、安装中碰到的问题及解决方法:

(1)WARNING: 'aclocal-1.14' is missing on your system

该错误详情:
test@test:/usr/local/src/Mesa_build$ sudo make
CDPATH="${ZSH_VERSION+.}:" && cd /install/Mesa-10.3.5 && /bin/bash /install/Mesa-10.3.5/bin/missing aclocal-1.14 -I m4
/install/Mesa-10.3.5/bin/missing: line 81: aclocal-1.14: command not found
WARNING: 'aclocal-1.14' is missing on your system.
You should only need it if you modified 'acinclude.m4' or
'configure.ac' or m4 files included by 'configure.ac'.
The 'aclocal' program is part of the GNU Automake package:
<http://www.gnu.org/software/automake>
It also requires GNU Autoconf, GNU m4 and Perl in order to run:
<http://www.gnu.org/software/autoconf>
<http://www.gnu.org/software/m4/>
<http://www.perl.org/>
make: *** [/install/Mesa-10.3.5/aclocal.m4] Error 127

解决方法如下:

  • 用Synaptic Package Manager搜索安装这些库(显然有些是重复的,当时不清楚用哪个索性全添加了):

autotools-dev    automake    autoconf2.13    m4    perl    libperl5.14

  • 执行如下命令:

test@test:/usr/local/src/Mesa-10.3.5$sudo autoreconf -ivf         就是这一句解决了问题

其他问题:

make环境问题:

(1)ylwrap: line 176: yacc: command not found。yacc是一个生成语法分析器的工具。

#yum install yacc

(2)missing: line 81: flex: command not found。

#yum install flex (需重新配置安装路径)

(3)/usr/bin/ld: cannot find -ly。

#yum install yum install bison-devel

(4)../../gsoap/stdsoap2.h:690:19:error:zlib.h:No such file or directory

#yum install zlib-devel

(5)error: openssl/bio.h:  No such file or directory

#yum install openssl-devel

 4、php添加soap扩展 

(1)搜索相关安装项信息

$ yum search php | grep -i soap

[root@yxdlnx webuser]# yum search php | grep -i soap
php-soap.x86_64 : A module for PHP applications that use the SOAP protocol
php54w-soap.x86_64 : A module for PHP applications that use the SOAP protocol
php55w-soap.x86_64 : A module for PHP applications that use the SOAP protocol
php56w-soap.x86_64 : A module for PHP applications that use the SOAP protocol
php70w-soap.x86_64 : A module for PHP applications that use the SOAP protocol

根据php版本选择安装即可

我的是:yum install php55w-soap.x86_64

重启php

centos6.5 gsoap安装过程+ php添加soap扩展的更多相关文章

  1. linux下的redis安装以及php添加redis扩展

    一.redis的安装 win版本详见: 下面是linux版本的安装步骤: step1.下载 http://redis.io/download下载完后直接make然后make install,注意sud ...

  2. wkhtmltopdf 安装过程不包含php扩展部分

    Qt Webkit HTML Converter Install wkhtmltopdf This page documents installation of wkhtmltopdf on Gent ...

  3. discuz3.4:在Centos6.5中安装过程

    参考文章:https://www.cnblogs.com/hehongbin/articles/5741270.html https://www.cnblogs.com/mitang/p/552454 ...

  4. centos6.x已经安装的系统添加图形界面

    yum groupinstall "X Window System" yum groupinstall GNOME Desktop Environment

  5. linux下为已经编译好的php环境添加mysql扩展(php安装完成后如何添加mysql扩展)

    问题背景 平常我们都是先安装mysql,然后才能去安装php.假如先安装php,后安装mysql,由于php需要连接mysql,因而在php引擎中需要配置使用mysql.so扩展.这时需要手动编译生成 ...

  6. Cloudera Manager安装之利用parcels方式安装3或4节点集群(包含最新稳定版本或指定版本的安装)(添加服务)(CentOS6.5)(五)

    参考博客 Cloudera Manager安装之利用parcels方式安装单节点集群  Cloudera Manager安装之Cloudera Manager 5.3.X安装(三)(tar方式.rpm ...

  7. Centos6.8下安装oracle_11gr2版主要过程

    安装前准备 下载oracle版本 地址:http://docs.oracle.com/cd/E21901_01/index.html ,下载2个文件分别是 linux.x64_11gR2_databa ...

  8. CentOS6.5+php5.3听云安装过程

    听云安装过程请参考听云安装指导页面:http://doc.tingyun.com/help/html/doc/server_novice.html 根据自己的服务器系统和语言包下载对应的 安装包 安装 ...

  9. Cloudera Manager安装之利用parcels方式安装单节点集群(包含最新稳定版本或指定版本的安装)(添加服务)(CentOS6.5)(四)

    不多说,直接上干货! 福利 => 每天都推送 欢迎大家,关注微信扫码并加入我的4个微信公众号:   大数据躺过的坑      Java从入门到架构师      人工智能躺过的坑          ...

随机推荐

  1. C#中小函数的应用

    今天看到的一段函数 StringBuilder sb = new StringBuilder("sselect * from table where 1=1"); if(TextB ...

  2. 11-C语言指针

    目录: 一.指针 二.指针与数组 回到顶部 一.指针 1 内存被分为字节,每个字节有唯一地址,指针保存的是内存中的地址. 2 保存指针的变量,就叫指针变量,(保存地址) 3 声明一个指针变量 int ...

  3. (Problem 70)Totient permutation

    Euler's Totient function, φ(n) [sometimes called the phi function], is used to determine the number ...

  4. IOS 表视图(UITableVIew)的使用方法(5)表视图的编辑功能(删除)

    默认的,如果表视图支持编辑,那用户可以通过两种方式来删除某些行,其一为单击左侧的红色按钮后行右侧显示“Delete”按钮,其二为在单元行上的手指向左滑动,“Delete”按钮也会出现供用户单击.无论哪 ...

  5. android——manifest.xml

  6. Spring 基于注解的装配

    xml头文件 xmlns:context="http://www.springframework.org/schema/context" 扫描包:<context:compo ...

  7. mget 同时获取

    mget 同时获取: http://192.168.32.81:9200/ _mget POST { "docs" :[ { "_index":"li ...

  8. Windows Azure HDInsight 现已正式发布!

    今天,我们宣布正式发布 Windows Azure HDInsight 服务.HDInsight 是 Microsoft 提供的基于 Hadoop 的服务,为云提供 100% 的 Apache Had ...

  9. HDU 3307 Description has only two Sentences

    数学实在是差到不行了…… #include <cstdio> #include <cstring> #include <algorithm> #include &l ...

  10. HDU 2501 Tiling_easy version

    递推式:f[n]=2*f[n-2]+f[n-1] #include <cstdio> #include <iostream> using namespace std; ]; i ...