[@zw-76-80 soft]$ rpm -ivh MySQL-shared-compat-5.1.66-2.glibc23.x86_64.rpm
error: can't create transaction lock on /var/lib/rpm/__db.000
[@zw-76-80 soft]$ sudo rpm -ivh MySQL-shared-compat-5.1.66-2.glibc23.x86_64.rpm
[sudo] password for fetch:
Preparing... ########################################### [100%]
1:MySQL-shared-compat ########################################### [100%]
[@zw-76-80 soft]$ ls
git-2013-04-08 mysql-client sphinx sphinx-2.0.6-release.tar.gz
git-latest.tar.gz MySQL-shared-compat-5.1.66-2.glibc23.x86_64.rpm sphinx-2.0.6-release
[@zw-76-80 soft]$
tar -zxvf sphinx-2.0.6-release.tar.gz
ls
mkdir sphinx
./configure --prefix=/opt/fetch/soft/sphinx --with-mysql-includes=/usr/include/mysql
Thank you for choosing Sphinx! 代表sphinx 安装成功
error: can't create transaction lock on /var/lib/rpm/__db.000
[@zw-76-80 soft]$ sudo rpm -ivh MySQL-shared-compat-5.1.66-2.glibc23.x86_64.rpm
[sudo] password for fetch:
Preparing... ########################################### [100%]
1:MySQL-shared-compat ########################################### [100%]
[@zw-76-80 soft]$ ls
git-2013-04-08 mysql-client sphinx sphinx-2.0.6-release.tar.gz
git-latest.tar.gz MySQL-shared-compat-5.1.66-2.glibc23.x86_64.rpm sphinx-2.0.6-release
[@zw-76-80 soft]$
tar -zxvf sphinx-2.0.6-release.tar.gz
ls
mkdir sphinx
./configure --prefix=/opt/fetch/soft/sphinx --with-mysql-includes=/usr/include/mysql
Thank you for choosing Sphinx! 代表sphinx 安装成功