- 论坛徽章:
- 0
|
今天在配置sphinx,
#./configure --prefix=/usr/local/sphinx --with-mysql=/usr/local/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-devel
编译时加参数:--with-mysql-includes也不行。
百度google没找到解决方法,请求大家指点。谢谢! |
|