09/03 11

Sphinx on Ubuntu 8.10 不指定

jason , 11:20 , 我的收藏 » search , 评论(0) , 引用(0) , 阅读(996) , Via 本站原创 | |
1. Update and Grab dependencies. Run these commands in order to get the files you need to install Sphinx.

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install build-essential
sudo apt-get install libmysqlclient15-dev


2. Download Sphinx. You can download the latest code from their website.

tar xvzf sphinx-0.9.8.1.tar.gz
cd sphinx-0.9.8.1/
./configure --with-mysql-includes=/usr/include/mysql --with-mysql-libs=/usr/lib/mysql


4. Make and Install Sphinx Run the standard linux commands to install Sphinx.

make
sudo make install



./configure --prefix=/usr/local/sphinx --with-mysql-includes=/usr/include/mysql --with-mysql-libs=/usr/lib/mysql --with-mmseg-includes=/usr/local/include/mmseg --with-mmseg-libs=/usr/local/lib --with-python --with-iconv
Tags: ,
发表评论

昵称

网址

电邮

打开HTML 打开UBB 打开表情 隐藏 记住我 [登入] [注册]