{"title": "CentOS\u4e0b\u7f16\u8bd1\u5b89\u88c5coreseek-4.1-beta", "update_time": "2015-02-02 17:27:27", "tags": "coreseek", "pid": "321", "icon": "linux.png"}
## 下载coreseek-4.1-beta ``` wget http://files.opstool.com/man/coreseek-4.1-beta.tar.gz tar -xzvf coreseek-4.1-beta.tar.gz cd coreseek-4.1-beta ``` ## 编译安装mmseg-3.2.14 ``` cd mmseg-3.2.14 ./configure --prefix=/opt/coreseek-4.1 make make install ``` 如果出现这种报错`config.status: error: cannot find input file: src/Makefile.in`,就在configure 之前执行如下命令 ``` aclocal libtoolize --force automake --add-missing autoconf autoheader make clean ``` ## 编译安装csft-4.1 ``` cd csft-4.1/ ./buildconf.sh ./configure --prefix=/opt/coreseek-4.1 \ --without-unixodbc \ --with-mmseg \ --with-mmseg-includes=/opt/coreseek-4.1/include/mmseg/ \ --with-mmseg-libs=/opt/coreseek-4.1/lib/ --with-mysql make make install ``` ## 参考 * http://www.guokr.com/blog/485487/ * http://blog.aboutc.net/linux/47/linux-configure-sphinx-chinese-word-segmentation