好的,我下载了 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.
最佳答案
关于mysql - 帮助设置 sphinx ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3095040/