mysql include files_安装sphinx出现错误ERROR: cannot find MySQL include files.
安裝sphinx出現錯誤ERROR: cannot find MySQL include files.
發布時間:2011-10-20 11:29:59來源:紅聯作者:like7419
今天在配置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沒找到解決方法,請求大家指點。謝謝!
總結
以上是生活随笔為你收集整理的mysql include files_安装sphinx出现错误ERROR: cannot find MySQL include files.的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: mysql 复制 二进制文件命令_Mys
- 下一篇: 英国用欧元吗,不用