We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
The newest version of mariadb-devel (mariadb-devel-5.5.40-1.el7_0.x86_64) on CentOS 7 breaks when installing MySQL-python via pip:
In file included from /usr/include/mysql/my_config.h:14:0,
from _mysql.c:44:
/usr/include/mysql/my_config_x86_64.h:654:2: error: #error <my_config.h> MUST be included first!
#error <my_config.h> MUST be included first!
^
error: command 'gcc' failed with exit status 1
I resolved this by removing all mariadb packages via yum:
yum remove maria*
Then installing an older version (mariadb-devel-5.5.37-1.el7_0.x86_64). This seemed to fix the issue.
Hope this can help anyone else in the same situation.
The text was updated successfully, but these errors were encountered:
FYI, mysqlclient has fixed it. PyMySQL/mysqlclient#7
Sorry, something went wrong.
Duplicate of #80
No branches or pull requests
Hi,
The newest version of mariadb-devel (mariadb-devel-5.5.40-1.el7_0.x86_64) on CentOS 7 breaks when installing MySQL-python via pip:
In file included from /usr/include/mysql/my_config.h:14:0,
/usr/include/mysql/my_config_x86_64.h:654:2: error: #error <my_config.h> MUST be included first!
#error <my_config.h> MUST be included first!
^
error: command 'gcc' failed with exit status 1
I resolved this by removing all mariadb packages via yum:
yum remove maria*
Then installing an older version (mariadb-devel-5.5.37-1.el7_0.x86_64). This seemed to fix the issue.
Hope this can help anyone else in the same situation.
The text was updated successfully, but these errors were encountered: