Home >Database >Mysql Tutorial >安装MySQL错误 gcc: @ndbcluster_includes@: No such file or direct

安装MySQL错误 gcc: @ndbcluster_includes@: No such file or direct

WBOY
WBOYOriginal
2016-06-07 16:57:201445browse

今天在编译mysql的时候,报了一个如下的错误gcc: @ndbcluster_includes@: No such file or directory用google一找,居然是mysql5

今天在编译mysql的时候,报了一个如下的错误

gcc: @ndbcluster_includes@: No such file or directory

用google一找,,居然是mysql5.5.3的一个bug,有修复的办法

我用的系统是CentOS5

mysql是5.5.3

./configure --prefix=/usr/local/webserver/mysql/ --enable-assembler --with-extra-charsets=complex --enable-thread-safe-client --with-big-tables --with-readline --with-ssl --with-embedded-server --enable-local-infile --with-plugins=partition,innobase,myisammrg

make时会出现如下的错误

gcc: @ndbcluster_includes@: No such file or directory
解决办法

Suggested fix:
Temp fix was remove @ndbcluster_includes@ from ./extra/Makefile and ./sql/MakeFile plus
remove @NDB_SCI_LIBS@ from ./sql/MakeFile官方修复网址

?id=55350

linux

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn