mysql - 帮助设置 sphinx

标签 mysql linux sphinx

好的,我下载了 sphinx-0.9.9.tar.gz 到我的桌面

我解压缩到桌面上名为 sphinx 的文件夹。

我跑:

cd ~/Desktop/sphinx

./configure --prefix=/usr/local/sphinx --with-mysql

很多事情都会发生。

然后我运行这一行

make

我收到这个错误:

make: *** No targets specified and no makefile found. Stop.

我在 ubuntu 10.04 我已经安装了 apache2, php5, mysql, mysqladmin

我不知道这个错误是什么意思。

更新

其实我跑完后发现:

./configure --prefix=/usr/local/sphinx --with-mysql

我明白了:

ERROR: cannot find MySQL include files.

Check that you do have MySQL include files installed. The package name is typically 'mysql-devel'.

If include files are installed on your system, but you are still getting this message, you should do one of the following:

1) either specify includes location explicitly, using --with-mysql-includes; 2) or specify MySQL installation root location explicitly, using --with-mysql; 3) or make sure that the path to 'mysql_config' program is listed in
your PATH environment variable.

To disable MySQL support, use --without-mysql option.

最佳答案

显然我需要先运行:

sudo aptitude install libmysql++-dev libmysqlclient15-dev checkinstall

通过this page底部的说明

关于mysql - 帮助设置 sphinx ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3095040/

相关文章:

用户位置自定义绘图工具中的mysql google maps查询存储?

mysql - 检测邮寄地址相似度

MySQL 根据另一个表列值更新表列

linux - Jenkins 到 git Windows master/Linux slave 的路径

linux - 为什么取消定义在 m4 中失败?

linux - 如何使用 sed ssh 更改值

ruby-on-rails-3 - 具有增量索引的远程数据库服务器上的 ThnkingSphinx (sphinxd)?

MySQL 5.6 InnoDB 全文搜索

mysql - AWS RDS 错误 : IAM Database Authentication is not supported for this configuration

MySQL 组合(内连接和选择)效率