linux安装php sphinx出错

安装sphinx的php客户端

linux安装php sphinx出错
# wget -c http://pecl.php.net/get/sphinx-1.3.0.tgz
# tar zxvf sphinx-1.3.0.tgz
# cd sphinx-1.3.0
# phpize
# ./configure --with-php-config=/usr/local/php5410/bin/php-config
# make && make install
linux安装php sphinx出错

./configure的时候出错,提示checking for libsphinxclient headers in default path... not found configure: error: Cannot find libsphinxclient headers 。

找了下libsphinxclient,在/www/soft/csft-3.2.13/api/libsphinxclient,之前安装的是coreseek3.2.13版。进入该目录,重新编译

linux安装php sphinx出错
cd libsphinxclient/
./configure make && make install
linux安装php sphinx出错

然后再次编译sphinx的php客户端就可以了

linux安装php sphinx出错,布布扣,bubuko.com

linux安装php sphinx出错

上一篇:JSP配置


下一篇:js数组操作【转载】