1. ubuntu apt-get install sphinxsearch
2. php 使用CN 99的源
3.sudo apt-get install libsphinxclient-dev
4. sudo pear install pecl/sphinx
//报错
编译mmseg提示cannot find input file: src/Makefile.in
aclocal
libtoolize --force 运行后有一个错误,不用管它。
automake --add-missing
autoconf
autoheader
make clean
./configure --prefix=/usr/local/mmseg3
中文分词
sudo apt-get install libmysqlclient-dev
找了下libsphinxclient,在/www/soft/csft-3.2.13/api/libsphinxclient,之前安装的是coreseek3.2.13版
cd libsphinxclient/
./configure
make && make install
安装完libsphinxclient,继续安装sphinx扩展
coreseek
http://www.coreseek.cn/products-install/install_on_bsd_linux/
http://www.coreseek.cn/product_install/install_on_bsd_linux/#mysql