Coreseek安装小记

coreseek安装:

http://219.232.239.243/uploads/csft/4.0/coreseek-4.1-beta.tar.gz

cd mmseg-3.2.14

./bootstrap #输出的warning信息可以忽略,如果出现error则需要解决

./configure --prefix=/opt/app/mmseg3

make && make install

cd csft-4.1

sh buildconf.sh #输出的warning信息可以忽略,如果出现error则需要解决

./configure --prefix=/opt/app/coreseek \

--without-unixodbc \

--with-mmseg \

--with-mmseg-includes=/opt/app/mmseg3/include/mmseg/ \

--with-mmseg-libs=/opt/app/mmseg3/lib/ \

--with-mysql

make && make install

/opt/app/mmseg3/bin/mmseg �Cu fenci.txt

cp fenci.txt.lib /opt/app/coreseek/etc/yule/uni.lib

启动:/opt/app/coreseek/bin/searchd -c /opt/app/coreseek/etc/sphinx.conf

索引:/opt/app/coreseek/bin/indexer -c /opt/app/coreseek/etc/sphinx.conf dianying tv comic zy --rotate > /opt/app/coreseek/var/log/index.log

TIPS:

1、mmseg出现如下错误:

config.status: creating Makefile
config.status: WARNING:  'Makefile.in' seems to ignore the --datarootdir setting
config.status: error: cannot find input file: src/Makefile.in

2、解决方法:

yum -y install autoconf automake libtool

aclocal

libtoolize --force

automake --add-missing

autoconf

autoheader

make clean

你可能感兴趣的:(coreseek,mmseg,csft)