Ubuntu 15 安装Coreseek

/ 0评 / 0

一、下载Coreseek源码包且解压

    :~$ wget http://www.coreseek.cn/uploads/csft/3.2/coreseek-3.2.14.tar.gz
    :~$ tar zxf coreseek-3.2.14.tar.gz

二、编译和问题解决

    :~$ cd coreseek-3.2.14
    :~$ sudo apt-get install make gcc g++ automake libtool mysql-client libmysqlclient-dev   libxml2-dev
    :~$ cd mmseg-3.2.14/
    :~$ ./bootstrap
    :~$ ./configure --prefix=/opt/mmseg
    :~$ make
    :~$ make install
    ---以上是安装mmseg的步骤,下面安装Coreseek---
    :~$ cd ../csft-3.2.14/
    :~$ ./configure --prefix=/opt/coreseek --without-unixodbc --with-mmseg --with-mmseg-includes=/opt/mmseg/include/mmseg/ --with-mmseg-libs=/opt/mmseg/lib/ --with-mysql --with-mysql-includes=/usr/include/mysql
    :~$ make
    ---如果在make命令中提示多个 “error: ‘ExprEval’ was not declared”,解决方法见“链接1”---
    :~$ make install

链接1:http://blog.csdn.net/u013815844/article/details/50832279 解决ExprEval was not declared 问题

链接2: http://www.phperz.com/article/14/0925/25654.html Coreseek常见问题