|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
如果您觉得本篇CentOSLinux教程讲得好,请记得点击右边漂浮的分享程序,把好文章分享给你的好朋友们!信息如
- CMakeErroratcmake/readline.cmake:83(MESSAGE):
- Curseslibrarynotfound.Pleaseinstallappropriatepackage
- removeCMakeCache.txtandreruncmake.OnDebian/Ubuntu,packagenameislibncurses5-dev,onRedhatandderivatesitisncurses-devel.
- CallStack(mostrecentcallfirst):
- cmake/readline.cmake:127(FIND_CURSES)
- cmake/readline.cmake:217(MYSQL_USE_BUNDLED_LIBEDIT)
- CMakeLists.txt:268(MYSQL_CHECK_READLINE)
- --Configuringincomplete,errorsoccurred!
办理***
Step1:
#rmCMakeCache.txt
Step2:
#yuminstallncurses-devel
Step3:
#cmake-DCMAKE_INSTALL_PREFIX=/usr/local/mysql
-DMYSQL_UNIX_ADDR=/usr/local/mysql/mysql.sock
-DDEFAULT_CHARSET=utf8
-DDEFAULT_COLLATION=utf8_general_ci
-DWITH_MYISAM_STORAGE_ENGINE=1
-DWITH_INNOBASE_STORAGE_ENGINE=1
-DWITH_MEMORY_STORAGE_ENGINE=1
-DWITH_READLINE=1
-DENABLED_LOCAL_INFILE=1
-DMYSQL_DATADIR=/usr/local/mysql/data
-DMYSQL_USER=mysql
-DMYSQL_TCP_PORT=3306
欢迎大家来到仓酷云论坛! |
|