我下载mysql-4.1.10.tar.gz后执行如下操作:
cd /dove/soft
tar xzvf mysql-4.1.10.tar.gz
cd mysql-4.1.10
./configure --prefix=/usr/local/mysql
出现如下错误:
checking for tcgetattr... yes
checking whether stat file-mode macros are broken... no
checking for type of signal functions... posix
checking whether programs are able to redeclare getpw functions... yes
checking for TIOCGWINSZ in sys/ioctl.h... yes
checking for FIONREAD in sys/ioctl.h... yes
checking for TIOCSTAT in sys/ioctl.h... no
checking if struct dirent has a d_ino member... yes
checking if struct dirent has a d_namlen member... no
checking whether signal handlers are of type void... yes
checking for tgetent in -lncurses... no
checking for tgetent in -lcurses... no
checking for tgetent in -ltermcap... no
checking for termcap functions library... configure: error: No curses/termcap library found