今天按照张宴的教程安装lnmp环境,在编译mysql的时候遇到一个错误.
- configure: error: No curses/termcap library found
经过百度之后[backcolor= transparent],获知需要安装ncurses-5.7.tar.gz,安装好之后把安装路径设置到PATH中
下载地址:
http://ishare.iask.sina.com.cn/f/9710834.html?from=like- tar zxvf ncurses-5.7.tar.gz
- cd ncurses-5.7
- ./configure --with-named-curses-libs=/usr/lib/libncursesw.so.5
- make && make install
完了以后,然后再去编译mysql,就顺利通过了.