编程爱好者之家

安装sphinxforchinese报错ERROR: cannot find MySQL include files

2019-03-06 17:36:30 525

今天安装sphinx的时候执行“./configure  --prefix=/usr/local/sphinxforchinese  --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:


image.png


解决办法如下:

执行 “yum install mysql-devel”即可


同类文章