安装mysql错误 gcc: @ndbcluster_includes@: No such file or directory

今天在编译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

 

官方修复网址

http://bugs.mysql.com/bug.php?id=55350

 

 

你可能感兴趣的:(mysql,centos,Google,File,gcc)