从RPM安装Thrift PHP失败

时间:2014-02-27 09:40:54

标签: php centos thrift rpm

我正在尝试使用PHP将Thrift安装到我的CentOS机器上。这就是我做的和出了什么问题:

[root@x3430-20371 YACassandraPDO]# rpm -Uvh http://rpm.sys.fm/centos/6/x86_64/thrift-php-0.9.0-1.el6.x86_64.rpm
Retrieving http://rpm.sys.fm/centos/6/x86_64/thrift-php-0.9.0-1.el6.x86_64.rpm
error: Failed dependencies:
        php(zend-abi) = 20090626 is needed by thrift-php-0.9.0-1.el6.x86_64
        php(api) = 20090626 is needed by thrift-php-0.9.0-1.el6.x86_64
[root@x3430-20371 YACassandraPDO]# php -v
PHP 5.4.25 (cli) (built: Feb 18 2014 14:20:14)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies

也许你们有任何想法如何解决它。谢谢!

当我从Thrift源代码构建时,我收到此错误:

[root@x3430-20371 thrift]# ./bootstrap.sh
Configuring for:
PHP Api Version:         20100412
Zend Module Api No:      20100525
Zend Extension Api No:   220100525
configure.ac:89: installing `./config.guess'
configure.ac:89: installing `./config.sub'
configure.ac:26: installing `./install-sh'
configure.ac:26: installing `./missing'
compiler/cpp/Makefile.am: installing `./depcomp'
configure.ac: installing `./ylwrap'
lib/cpp/test/Makefile.am:178: variable `concurrency_test_SOURCES' is defined but no program or
lib/cpp/test/Makefile.am:178: library has `concurrency_test' as canonical name (possible typo)
lib/cpp/test/Makefile.am:187: variable `processor_test_SOURCES' is defined but no program or
lib/cpp/test/Makefile.am:187: library has `processor_test' as canonical name (possible typo)
lib/cpp/test/Makefile.am:195: variable `processor_test_LDADD' is defined but no program or
lib/cpp/test/Makefile.am:195: library has `processor_test' as canonical name (possible typo)
lib/cpp/test/Makefile.am:184: variable `concurrency_test_LDADD' is defined but no program or
lib/cpp/test/Makefile.am:184: library has `concurrency_test' as canonical name (possible typo)
[root@x3430-20371 thrift]#

0 个答案:

没有答案