`
pcpig
  • 浏览: 91254 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

安装MYSQL出现checking for termcap functions library… configure: error: No curses/ter

阅读更多
(原帖:http://www.phpunion.com/%e5%ae%89%e8%a3%85mysql%e5%87%ba%e7%8e%b0checking-for-termcap-functions-library-configure-error-no-cursestermcap-library-found/)
如果编译时出现了以下错误:
checking for tgetent in -ltermcap… no
checking for termcap functions library… configure: error: No curses/termcap library found
说明 curses/termcap 库没有安装
去下载一个ncurses-5.6.tar.gz,
wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.6.tar.gz
tar zxvf ncurses-5.6.tar.gz
cd ncurses-5.6
./configure –prefix=/usr –with-shared –without-debug
make
make install clean
然后再重新编译Mysql进行安装。

或者

yum install ncurses ncurses-devel

yum list|grep ncurses
yum -y install ncurses-devel
yum install ncurses-devel
分享到:
评论

相关推荐

    PHP编译configure时常见错误的总结

    1. **错误:configure: error: No curses/termcap library found** 解决方案:在CentOS上,应运行`yum -y install ncurses-devel`;在Debian上,运行`apt-get install libncurses5-dev`。 2. **错误:configure: ...

    Linphone编译错误及解决方法

    7. configure: error: Could not find libavcodec (from ffmpeg) headers and library. This is mandatory for video support 错误原因:缺少libavcodec头文件和库文件。 解决方法:sudo apt-get install ...

    gmp 5.0.4 安装GCC必需文件

    安装GCC必需的三个文件(gmp、mpfr、mpc)之一,gmp,安装此库之前需要先安装M4,否则无法完成安装。另:上述文件我已上传至我的资源,如有需要下载即可。 GMP is a free library for arbitrary precision ...

    安装linux编译时报apr错误的解决方法

    在Linux环境中进行软件安装或系统配置时,遇到错误是常有的事。特别是在编译源代码安装软件时,可能会遇到各种依赖问题。本篇将详细解析如何解决在安装httpd(Apache HTTP服务器)过程中遇到的apr(Apache Portable ...

    编译PHP报错configure error Cannot find libmysqlclient under usr的解决方法

    然而,如果错误涉及到`mysql_set_server_option`函数或提示“wrong mysql library version or lib not found”,则可能需要确保安装了正确的开发库。在这种情况下,可以通过运行`yum -y install mysql-devel`来安装...

    电子商务网店程序PHP

    # For syntax checking, see: # http://www.sxw.org.uk/computing/robots/check.html User-agent: * # Directories Disallow: /classes/ Disallow: /config/ Disallow: /download/ Disallow: /mails/ Disallow: /...

    linux安装mysql教程(精).pdf

    configure: error: No curses/termcap library found"。这意味着系统缺少ncurses库,它是许多终端应用需要的库,包括MySQL。为了解决这个问题,可以从光盘的Server目录下找到并安装`ncurses-devel-5.5-24.20060715....

    hadoop-native-lib-x64-2.7.3.tar.gz

    Native library checking: hadoop: true /taidl/hadoop/lib/native/libhadoop.so zlib: true /lib64/libz.so.1 snappy: true /taidl/hadoop/lib/native/libsnappy.so.1 lz4: true revision:99 bzip2: false openssl...

    PHP编译安装中遇到的两个错误和解决方法

    第二个错误是在编译PDO_MYSQL扩展模块时遇到的,错误信息显示为`Error 1`,并且在编译过程中找不到`mysql.h`等头文件。这表明在编译过程中,系统无法找到MySQL的头文件路径。解决此问题的方法是创建软链接,将MySQL...

    cryptopp-5.6.2-2.el6.x86_64.rpm&& cryptopp-devel-5.6.2-2.el6.x86_64.rpm

    ceph源码编译时出现下列现象时,需要下载这两个rpm包: checking for NSS... no configure: error: in `/root/workspace/...configure: error: no suitable crypto library found See `config.log' for more details

    Arm板Apache+PHP环境搭建

    2. 需要添加ac_cv_func_setpgrp_void=yes选项,以避免出现checking whether setpgrp takes no argument... configure: error: cannot checksetpgrp when cross compiling的错误。 3. 需要添加--cache=arm-linux....

    在RHEL3上安装ORALCE9I

    oracle9i for rhel3 install 1、 准备好所需的以下安装包: Oracle9i安装文件: [Oracle9i.Database.Release.2.--.9.2.0.4.0.for.Linux.x86].ship_9204_linux_disk1.cpio.gz [Oracle9i.Database.Release.2.--.9.2....

    Linux-jpcap-gcc

    configure: error: no acceptable C compiler found in $PATH ------------------------ linux 中,安装,提示缺少其他一些组件,经过来回搜索与拷贝,GCC安装成功,所需文件有: libf2c-3.3.2-1.i386.rpm libstdc -devel...

    linux下apache http server安装.docx

    checking for APR version 1.3.0 or later no configure: error: APR version 1.3.0 or later is required ``` **解决方案:** 这个错误提示是因为缺少或版本不满足要求的 APR (Apache Portable Runtime) 库。解决...

    No package 'orocos-bfl' found

    在使用新的ros导航包的时候,会提示-- Checking for module 'orocos-bfl' -- No package 'orocos-bfl' found CMake Error at /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:367 (message): A required package...

    离线安装gcc(版本:7.2.0)

    ### 离线安装GCC 7.2.0详解 #### 概述 本文档将详细介绍如何在Linux环境下离线安装GCC(GNU Compiler Collection)7.2.0版本。GCC是一套由GNU项目开发的开源编译器集合,广泛应用于各种编程语言的编译工作,如C、...

    libuv-1.37.0.zip

    libuv is a multi-platform support library with a focus on asynchronous I/O. It was primarily developed for use by [Node.js][], but it's also used by [Luvit](http://luvit.io/), [Julia]...

    Keil.STM32F1xx_DFP.2.1.0.pack

    Improved robustness by function checking that driver is powered (EMAC_FLAG_POWER) CAN: Corrected functionality when only one CAN controller is used Corrected pin remap configuration for CAN2 port ...

    ubuntu 工具源码和安装说明

    ubuntu 工具源码和安装说明. export PATH=$PATH:/usr/local/vim/bin tar xf ncurses_5.9.orig.tar.gz mv ncurses-5.9/ ncurses cd ncurses ./configure --prefix=/usr/local/ncurses --without-cxx make sudo make ...

Global site tag (gtag.js) - Google Analytics