问题
i am trying more than 2 hours to install thrift with cassandra but it is not even configured..when i am configure using command ./configure it show the error as: configure: error: Cannot find php-config. Please use --with-php-config=PATH configure: error: ./configure failed for lib/php/src/ext/thrift_protocol
i cant fix this. can any one help me.
回答1:
make sure to install php-dev. it happened with me last weekend. good luck.
回答2:
Same thing with Ubuntu Lucid. Installed php5-dev via apt-get and it works.
回答3:
On CentOS 5.6, you're looking for php5-devel or php53-devel
installed by "yum install ...."
来源:https://stackoverflow.com/questions/4077233/thrift-installation-error