Problem
While install MySQL 5.0.51b for Linux on Ubuntu 8.10
when I execte configure:
sudo ./configure --prefix=/usr/local/mysql --localstatedir=/var/lib/mysql --sysconfdir=/etc
got error message:
checking for tgetent in -ltermcap... no
checking for termcap functions library... configure: error: No curses/termcap library found
Solution
need to install ncurses-5.2.tar.gz,after install, set the path in the configure parameter
or maybe the ncurses is already installed, so just add path.
add
--with-named-curses-libs=/usr/lib/libncursesw.so.5
the it looks like this:
sudo ./configure --prefix=/usr/local/mysql --localstatedir=/var/lib/mysql --sysconfdir=/etc --with-named-curses-libs=/usr/lib/libncursesw.so.5
No comments:
Post a Comment