在centos下把原来的mysql给rpm -e –nodeps了,然后下了个mysql-5.1.28
./configure –with-plugins=sphinx –prefix=/usr/local/mysql-search/ –enable-assembler –with-extra-charsets=complex –enable-thread-safe-client –with-big-tables –with-readline –with-ssl -with-embedded-server –enable-local-infile
时,出现错误:
checking for termcap functions library… configure: error: No curses/termcap library found
网上大都说是缺少ncurses,我rpm -qa |grep ncurses了一下发现已经安装了ncurses
后来发现原来少的是:ncurses-devel
到光盘里找到
rpm -ivh ncurses-devel-5.5-24.20060715.i386.rpm
发现不在提示上述错误了