安装狮身人面像我apt-get
安装了MySQL在Ubuntu
Ubuntu的mysql的文件分离到以下位置:
/usr/bin/mysql
/var/lib/mysql
/var/log/mysql
/etc/mysql/my.cnf
在从狮身人面像文件的说明:
$ ./configure
--prefix
,这指定安装Sphinx的位置;如--prefix=/usr/local/sphinx
(所有示例均使用此前缀)
--with-mysql
,它指定在哪里查找MySQL包含和库文件,如果自动检测失败;
我得到以下错误:
checking whether to compile with MySQL support... yes
configure: error: invalid MySQL root directory '/usr/bin'; neither bin/mysql_config, nor include/ and lib/ were found there
,我应该告诉它寻找MySQL的?
$ ./configure --with-mysql=WHICH PLACE?
非常感谢你 – koogua