본문 바로가기

Technical/DBMS

MySQL 5.5.5m3 configure bug(Building MySQL 5.5.5m3)



* make 시에 아래와 같은 오류 발생
------------------------------------------------------------------------------------------------------
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../sql    -O3 -m32
-march=core2 -fomit-frame-pointer -pipe -fno-exceptions   -DUNIV_LINUX
@ndbcluster_includes@  -c perror.c
gcc: @ndbcluster_includes@: No such file or directory
make[3]: *** [perror.o] Error 1
------------------------------------------------------------------------------------------------------

[Solution]
* configure 직후에 ./extra/Makefile에서 @ndbcluster_include@ 삭제 -- (1)
            "             ./sql/Makefile에서 @ndbcluster_inclide@, @NDB_SCI_LIBS@ 삭제 -- (2)

# ./configure --prefix=/user/service/mysql --with-mysqld-user=mysql --sysconfdir=/user/service/mysql/conf --with-unix-socket-path=/tmp/mysqld/mysql.sock --with-charset=utf8 --with-extra-charsets=all --with-plugins=innobase,myisam,semisync,partition

# vi ./extra/Makefile --(1)
# vi ./sql/Makefile --(2)

# make && make install

* Enjoy & have fun ~