sphinx学习

推荐的sphinx网络教程:

http://www.coreseek.cn/docs/coreseek_4.1-sphinx_2.0.1-beta.html#about


首先是安装的问题,为啥使用如下命令请移步,或者

aclocal
libtoolize --force
automake --add-missing
autoconf
autoheader
make clean
./configure --prefix=/usr/local/mmseg3
make
make install

笔者在安装的时候碰见了问题


解决方法是在这个文件中增加一个<sys/stat.h>的声明。(汗一个。。。)


cd ..
cd csft-3.2.12
aclocal
libtoolize –force
automake –add-missing
autoconf
autoheader
perl -pi -e ’s/lpthread/lpthread -liconv/g’ src/Makefile*
./configure –prefix=/usr/local/coreseek –enable-id64 –without-python –with-mysql –with-mmseg –with-mmseg includes=/usr/local/mmseg3/include/mmseg/ –with-mmseg-libs=/usr/local/mmseg3/lib/
perl -pi -e ’s/lpthread/lpthread -liconv/g’ src/Makefile*
make
make install
cd /usr/local/coreseek/etc/
cp sphinx.conf.dist csft.conf

摘自http://www.54chen.com/architecture/sphinx-install-and-configure-notes.html





你可能感兴趣的:(网络)