歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> CentOS下編譯安裝coreseek-4.1-beta

CentOS下編譯安裝coreseek-4.1-beta

日期:2017/2/27 15:56:08   编辑:Linux教程
下載coreseek-4.1-beta
wget http://files.opstool.com/man/coreseek-4.1-beta.tar.gz
tar -xzvf coreseek-4.1-beta.tar.gz
cd coreseek-4.1-beta

編譯安裝mmseg-3.2.14
cd mmseg-3.2.14
./configure --prefix=/opt/coreseek-4.1
make
make install

如果出現這種報錯config.status: error: cannot find input file: src/Makefile.in,就在configure 之前執行如下命令
aclocal
libtoolize --force
automake --add-missing
autoconf
autoheader
make clean

編譯安裝csft-4.1
cd csft-4.1/
./buildconf.sh
./configure --prefix=/opt/coreseek-4.1 --without-unixodbc --with-mmseg --with-mmseg-includes=/opt/coreseek-4.1/include/mmseg/ --with-mmseg-libs=/opt/coreseek-4.1/lib/ --with-mysql
make
make install
Copyright © Linux教程網 All Rights Reserved