sphinx安装
来源:互联网 发布:淘宝商品采集工具 编辑:程序博客网 时间:2024/06/16 17:49
下载coreseek-3.2.14.tar.gz
解压压缩包
checking for libsphinxclient headers in default path... not found
configure: error: Cannot find libsphinxclient headers
找了下libsphinxclient,在coreseek-3.2.14/csft-3.2.14/api/libsphinxclient,进入该目录,重新编译
http://www.phperz.com/article/15/0611/120380.html
http://www.kuqin.com/shuoit/20141101/342963.html
解压压缩包
$ cd coreseek-3.2.14/mmseg-3.2.14$ ./configure --prefix=/usr/local/mmseg/如果出现下面如下错误请执行, config.status: error: cannot find input file: src/Makefile.in,请执行
$ yum -y install autoconf automake$ aclocal$ yum -y install libtool$ aclocal$ libtoolize -f$ automake –add-missing$ autoconf$ autoheader$ make clean$ ./configure --prefix=/usr/local/mmseg/$ make$ sudo make install到这里mmseg安装完毕,接下来安装coreseek,请看代码
$ cd ../ csft-3.2.14$ ./configure --prefix=/usr/local/coreseek --with-mysql=/usr/local/mysql --with-mmseg-includes=/usr/local/mmseg/include/mmseg/ --with-mmseg-libs=/usr/local/mmseg/lib/$ make$ make install到这里还没有完毕,安装好coreseek和mmesg我们要给php加上sphinx模块,这样php就可以用到sphinx软件的功能,先下载php的sphinx模块包,代码如下
$ wget http://pecl.php.net/get/sphinx-1.1.0.tgz$ tar zxvf sphinx-1.1.0.tgz$ cd sphinx-1.1.0$ /usr/local/php/bin/phpize$ ./configure --with-php-config=/usr/local/php/bin/php-config此处报错
checking for libsphinxclient headers in default path... not found
configure: error: Cannot find libsphinxclient headers
找了下libsphinxclient,在coreseek-3.2.14/csft-3.2.14/api/libsphinxclient,进入该目录,重新编译
$ ./configure$ make && make install进入sphinx目录
$ cd sphinx-1.1.0$ /usr/local/php/bin/phpize$ ./configure --with-php-config=/usr/local/php/bin/php-config$ make$ make install查看phpinfo,显示sphinx已经安装成功
wget http://sphinxsearch.com/files/sphinx-2.2.5-release.tar.gztar zxvf sphinx-2.2.5-release.tar.gzcd sphinx-2.2.5-release./configure -prefix=/usr/local/sphinxmake && make installcd /usr/local/sphinx/etccp sphinx.conf.dist sphinx.confhttp://www.tuicool.com/articles/N3iQ7r
http://www.phperz.com/article/15/0611/120380.html
http://www.kuqin.com/shuoit/20141101/342963.html
0 0
- sphinx 安装
- 安装sphinx
- sphinx - 安装
- Sphinx 安装
- sphinx安装
- sphinx安装
- sphinx安装
- sphinx 安装
- Sphinx 安装
- Sphinx学习之sphinx的安装篇
- sphinx,mysql 安装步骤
- php linux sphinx 安装
- Sphinx安装笔记
- sphinx/coreseek 安装全过程
- linux安装sphinx
- linux 下安装sphinx
- 安装sphinx搜索引擎
- Sphinx安装与测试
- PostScript文件(.ps)转化为PDF
- 关于 js 微信分享 微博分享 新浪微博分享 易信分享
- Unity 用简单工厂模式创建对象
- IOS应用内跳转系统设置相关界面的方法
- 文章标题
- sphinx安装
- cocos 本周学习api
- Leetcode Word Break
- 常用主流移动设备CSS3 Media Queries整理
- Android APP中清除缓存功能详解
- 陶哲轩实分析-第16章 傅里叶级数
- MySQL 数据类型
- 经典机器学习源代码
- Android Exercise2问题总结