从RPM安装Thrift PHP失败

从RPM安装Thrift PHP失败,php,centos,thrift,rpm,Php,Centos,Thrift,Rpm,我正试图在我的CentOS机器上安装Thrift with PHP。以下是我所做的和出错的地方: [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: Fai

我正试图在我的CentOS机器上安装Thrift with PHP。以下是我所做的和出错的地方:

[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
也许你们有办法解决这个问题。谢谢

此外,当我从节俭来源构建时,我会遇到以下错误:

[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]#

IIRC CentOS出现了一些问题,因为它是CentOS:-)-有一些非常旧的软件包会给节俭带来麻烦。如果您在这里没有得到足够的答案,那么在邮件列表和/或freenode上提问可能是另一种选择。谢谢您的回答。我会试试,但你能给我指一下正确的方向吗?你是什么意思:RPM、邮件列表还是freenode?后两个可以在Thrift网站()上找到,关于RPM,你必须用谷歌搜索邮件列表档案(链接可以在同一页上找到)