[list]
[*] 下载coreseek并解压,先安装mmseg分词器。进入mmseg目录
[*] 运行./configure --prefix=/usr/local/mmseg结束后报错。cannot find input file: src/Makefile.in
[*] 通过在该目录下运行 automake 命令解决。没有此命令可以通过yum安装
[*] 再次运行./configure --prefix=/usr/local/mmseg make && make install
[*] 安装coreseek
[/list]
[list]
[*] 安装 coreseek 过程中出错 Expr_ArgVsSet_c<int>’ are not found by unqualified lookup
[*] 上网搜索一番,大概是gcc4.7的原因
[*] 通过如下方法解决
[/list]
[list]
[*] 重新运行上述 configure ... make && make install
[/list]
[*] 下载coreseek并解压,先安装mmseg分词器。进入mmseg目录
[*] 运行./configure --prefix=/usr/local/mmseg结束后报错。cannot find input file: src/Makefile.in
[*] 通过在该目录下运行 automake 命令解决。没有此命令可以通过yum安装
[*] 再次运行./configure --prefix=/usr/local/mmseg make && make install
[*] 安装coreseek
[/list]
./configure --prefix=/usr/local/coreseek \
--with-mysql=/usr/local/mysql \
--with-mmseg=/usr/local/mmseg \
--with-mmseg-includes=/usr/local/mmseg/include/mmseg/ \
--with-mmseg-libs=/usr/local/mmseg/lib/
[list]
[*] 安装 coreseek 过程中出错 Expr_ArgVsSet_c<int>’ are not found by unqualified lookup
[*] 上网搜索一番,大概是gcc4.7的原因
[*] 通过如下方法解决
[/list]
找到src/sphinxexpr.cpp里面的代码
ExprEval ( this->m_pArg, tMatch );
替换为
this->ExprEval ( this->m_pArg, tMatch );
共三处。我安装的是coreseek-3.2.14.tar.gz
[list]
[*] 重新运行上述 configure ... make && make install
[/list]