# ./configure --prefix=/usr/local/mysql

(중략)

checking for termcap functions library... configure: error: No curses/termcap library found

# rpm -qa|grep ncurses

ncurses-5.5-24.20060715

ncurses-devel 이 없으면 설치하도록 한다.


# yum install ncurses-devel

# rpm -qa|grep ncurses

ncurses-5.5-24.20060715

ncurses-devel-5.5-24.20060715

# ./configure --prefix=/usr/local/mysql


정상적으로 configure가 되는 것을 확인 할 수 있다.


# make

(중략)

../depcomp: line 512: exec: g++: not found
make[2]: *** [my_new.o] Error 127
make[2]: Leaving directory `/root/mysql-5.0.45/mysys'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/mysql-5.0.45'
make: *** [all] Error 2


# g++
-bash: g++: command not found

g++가 존재하지 않는다. g++를 설치한다.


# yum install gcc-c++

Posted by ⓩero
TAG