«   2021/12   »
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
Archives
Today
8
Total
1,143,090
관리 메뉴

Bryan's Tech-Log

MySQL 5.5.5m3 configure bug(Building MySQL 5.5.5m3) 본문

Technical/DBMS

MySQL 5.5.5m3 configure bug(Building MySQL 5.5.5m3)

Barracuda 2010. 7. 24. 17:17


* 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 ~


0 Comments
댓글쓰기 폼