- 论坛徽章:
- 0
|
本帖最后由 du_liang 于 2012-12-21 13:00 编辑
# cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/mysql5.5.25 -DMYSQL_DATADIR=/mydata -DMYSQL_UNIX_ADDR=/tmp/mysql.sock -DWITH_INNOBASE_STORAGE_ENGINE=1 -DMYSQL_TCP_PORT=3306 -DEXTRA_CHARSETS=all -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci -DWITH_DEBUG=0
-- MySQL 5.5.25a
-- Packaging as: mysql-5.5.25a-Linux-x86_64
-- Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)
CMake Error at cmake/readline.cmake:83 (MESSAGE):
Curses library not found. Please install appropriate package,
remove CMakeCache.txt and rerun cmake.On Debian/Ubuntu, package name is libncurses5-dev, on Redhat and derivates it is ncurses-devel.
Call Stack (most recent call first): cmake/readline.cmake:127 (FIND_CURSES)
cmake/readline.cmake:217 (MYSQL_USE_BUNDLED_LIBEDIT)
CMakeLists.txt:268 (MYSQL_CHECK_READLINE)
-- Configuring incomplete, errors occurred!
[root@localhost mysql-5.5.25a]# rpm -qa|grep ncureses
[root@localhost mysql-5.5.25a]# rpm -qa|grep ncure
[root@localhost mysql-5.5.25a]# rpm -qa|grep ncurses
ncurses-base-5.7-3.20090208.el6.x86_64
ncurses-libs-5.7-3.20090208.el6.x86_64
ncurses-libs-5.7-3.20090208.el6.i686
ncurses-5.7-3.20090208.el6.x86_64
ncurses-devel-5.7-3.20090208.el6.x86_64
ncurses-devel-5.7-3.20090208.el6.i686
[root@localhost mysql-5.5.25a]#
# uname -a
Linux localhost.localdomain 2.6.32-343.el6.x86_64 #1 SMP Mon Nov 19 16:46:10 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost mysql-5.5.25a]#
RHEL6.4beta_x86安装盘里没有32位的ncurses哦 |
|