An ERROR occurred while installing sphinx: cannotfindMySQLincludefiles.

Source: Internet
Author: User
An ERROR occurs when installing sphinx: cannotfindMySQLincludefiles. -- Linux Enterprise Application-Linux server application information. For details, see the following. Configuring sphinx today,
#./Configure -- prefix =/usr/local/sphure -- with-mysql =/usr/local/mysql/

The following error occurs:

**************************************** **************************************
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 shoshould do one of the following:

1) either specify between des location explicitly, using -- with-mysql-related des;
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.
**************************************** **************************************

Check according to the error prompt:
Mysql-devel has been installed on the server.

The parameter -- with-mysql-pair des is not required during compilation.

Baidu and google did not find a solution. Please give us some advice. Thank you!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.