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

来源:互联网 发布:不锈钢冰块怎么样 知乎 编辑:程序博客网 时间:2024/05/24 04:53

今天在编译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 plusremove @NDB_SCI_LIBS@ from ./sql/MakeFile

 

官方修复网址

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

 

 

统计