欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

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

程序员文章站 2022-04-28 18:32:54
...

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

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