sphinx安装错误解决
来源:互联网 发布:百度网盘下载助手mac 编辑:程序博客网 时间:2024/05/22 12:18
在安装sphinx的过程中碰到这个问题,大致是提示没有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 gettingthis 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.******************************************************************************
第一个解决方案大致是:$ ./configure --prefix=/usr/local/sphinx --with-mysql-includes=/这里是你的mysql路径/mysql/include --with-mysql-libs=/这里是你的mysql路径/mysql/lib(该方法稍微麻烦些没有尝试过,个人选择的第二个解决方案)
第二个解决方案:# yum install mysql-devel.x86_64
# ./configure --without-mysql# make install三行代码就可以了generating configuration files ------------------------------configure: creating ./config.statusconfig.status: creating Makefileconfig.status: creating src/Makefileconfig.status: creating libstemmer_c/Makefileconfig.status: creating doc/Makefileconfig.status: creating sphinx.conf.distconfig.status: creating sphinx-min.conf.distconfig.status: creating config/config.hconfig.status: executing depfiles commands configuration done ------------------You can now run 'make install' to build and install Sphinx binaries.On a multi-core machine, try 'make -j4 install' to speed up the build.Updates, articles, help forum, and commercial support, consulting, training,and development services are available at http://sphinxsearch.com/Thank you for choosing Sphinx!
1 0
- sphinx安装错误解决
- sphinx 遇到的错误和解决
- sphinx 安装
- 安装sphinx
- sphinx - 安装
- Sphinx 安装
- sphinx安装
- sphinx安装
- sphinx安装
- sphinx 安装
- Sphinx 安装
- SQL安装错误解决!
- oracle安装错误解决
- 安装nokogiri错误解决
- phpwind安装错误解决
- dpkg 安装错误解决
- 安装openssl错误解决
- mysql安装错误解决
- sql2008“备份集中的数据库备份与现有的xx数据库不同”解决方法
- 基准测试spec cpu2006
- scala学习
- liunx下安装composer
- 设计模式——外观模式
- sphinx安装错误解决
- 自动化-滑屏功能用例
- 一名资深质量工程师总结的4个工作思路
- APACHE服务器出现No input file specified.的完美解决方案
- Python-类03(求两点之间直线距离)
- 开始使用gentoo linux——gentoo安装笔记(下)
- 使用GreenDao出现:unique constraint failed解
- 运行中的错误,不定时更新
- 1009. Product of Polynomials (25)