zoukankan      html  css  js  c++  java
  • Curses library not found. Please install appropriate package

    每次安装mysql5.5的时候总会报出一下错误:

    -- Could NOT find OpenSSL (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR) 
    -- 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:118 (FIND_CURSES)
    cmake/readline.cmake:214 (MYSQL_USE_BUNDLED_READLINE)
    CMakeLists.txt:257 (MYSQL_CHECK_READLINE)


    -- Configuring incomplete, errors occurred!
    配置无法继续.

    这里有一个好的方法。

    就是使用例如以下语句:

    rm -f CMakeCache.txt

    删除刚才编译生成的 CMakeCache.txt 文件
    安装 ncurses-devel 包
    yum install ncurses-devel


  • 相关阅读:
    php-文件系统
    php
    php
    php
    关于学习上面的感悟
    php
    Error: PostCSS plugin tailwindcss requires PostCSS 8.
    常用/不常用的HTTP状态码
    小程序云托管无需服务器部署PHP
    Docker-镜像操作
  • 原文地址:https://www.cnblogs.com/yangykaifa/p/7357245.html
Copyright © 2011-2022 走看看