`
shutiao2008
  • 浏览: 209426 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

安装mysql,在./configure时出现错误:error: No curses/termcap library found的解决办法

    博客分类:
  • db
阅读更多
在./configure后,make时出现以下错误:

make: *** No targets specified and no makefile found. stop.

在网上找到相关资料,确认是./configure出了问题,于是回头查看,果然发现问题:

最后几行出了错,完整错误信息如下:

checking for tgetent in -lncurses... no

checking for tgetent in -lcurses... no

checking for tgetent in -ltermcap... no

checking for tgetent in -ltinfo... no

checking for termcap functions library... configure: error: No curses/termcap library found

原因:

缺少ncurses安装包

解决办法:

下载安装相应软件包

一、如果你的系统是RedHat系列:

yum list|grep ncurses

yum -y install ncurses-devel

yum install ncurses-devel


二、如果你的系统是Ubuntu或Debian:

apt-cache search ncurses

apt-get install libncurses5-dev


待安装completed!之后,再./configure,顺利通过,然后make && make install,成功安装,一切OK!~~~


转载:http://blog.csdn.net/zccst/archive/2009/08/28/4493074.aspx
分享到:
评论

相关推荐

    nginx安装教程

    sudo ./configure sudo make sudo make install # 安装zlib库 cd /usr/local/src sudo wget http://zlib.net/zlib-1.2.11.tar.gz sudo tar -zxvf zlib-1.2.11.tar.gz cd zlib-1.2.11 sudo ./configure sudo make ...

    银河麒麟V10系统+飞腾CPU交叉编译OpenCV

    ./configure make –j8 make install 执行上述过程中make时可能会报错,错误结果如下 ./include/nasmlib.h:194:1: error: ‘pure’ attribute on function returning ‘void’ [-Werror=attributes] 194 | void pure...

    Linux 下 Nginx的安装:(解压,进入目录里面执行,./configure –-> make -> sudo make install)

    NULL 博文链接:https://jackroomage.iteye.com/blog/1687401

    nginx-1.0.5最新稳定版

    如果安装时遇到错误的解决方法。 1. 缺少pcre 状况:./configure: error: the HTTP rewrite module requires the PCRE library. 解决:yum -y install pcre-devel 安装相应的包 2.缺少zlib 状况: ./configure: ...

    qt 安装缺少包 version“Glibc_2.9” not fount

    (2) ./configure也就是说不能直接在在glibc-2.9这个目录中进行./configure,必须重新建立一个目录后并且进入后再在刚才的目录下进行./configure,例如就是重新建立了一个目录glibc_build 进入这个目录后/roo/programes...

    ffmpeg 4.2.0和ffmpeg2.6.1,并有txt文档安装说明。./configure。亲测可用

    ffmpeg 4.2.0和ffmpeg2.6.1,并有txt文档安装说明。.configure。亲测可用

    asterisk部署文档

    ./configure make make install make config cd .. Dahdi开启回音消除模块:编辑/etc/dahdi/modules 在末尾处添加Dahdi_echocan_mg2 yum install libxml2-devel ncurses-devel subversion doxygen texinfo yum ...

    安装lamp报错信息及解决方法

    /use/lib//usr/lib/libdb-4.2.so: could not read symbols: File in wrong format Notice: Following unknown configure ...configure: error: mysql configure failed. Please check config.log for more information

    ./nginx: No such file or directory

    我用的是ubuntu18.04安装nginx 一般来说我们安装的nginx文件结构大致是这样的: 1. 所有的配置文件都在/etc/nginx下,并且每个虚拟主机已经安排在了/etc/nginx/sites-available下 2. 程序文件在/usr/sbin/nginx 3...

    mysql5.0.8完整安装

    mysql5.0.8安装,解决configure: error: No curses/termcap library found问题

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

    PHP编译configure时常见错误的总结 PHP的安装虽然有时候很简单,可是如果应用一多,我们安装起来就很头痛了!...1、configure: error: No curses/termcap library found 网上有的说法是:–with-named-c

    rabbit安装详解

    configure: error: /bin/sh '/root/software/otp_src_17.1/lib/snmp/./configure' failed for snmp/. configure: error: /bin/sh '/root/software/otp_src_17.1/lib/configure' failed for lib 执行下面的: yum ...

    apr-1.7.0.zip

    1、httpd-2.4.41.tar 2、apr-1.7.0.tar 报错: rm: cannot remove `libtoolT': No such file or directory ..../configure --prefix=/usr/local/apache --with-apr=/usr/local/apr/ --with-apr=/usr/local/apr

    httpd-2.4.41.rar

    源码编译:亲测有效! 1、httpd-2.4.41.tar 2、apr-1.7.0.tar 报错: rm: cannot remove `libtoolT': No such file ..../configure --prefix=/usr/local/apache --with-apr=/usr/local/apr/ --with-apr=/usr/local/apr

    my_gperftools-2.0.tar.gz

    echo "./configure --enable-frame-pointers" echo "make" echo "sudo make install" 静态库链接: sudo ln -sf /usr/local/lib/libtcmalloc_debug.so.4 /lib64/libtcmalloc_debug.so.4 编译选项加上: -fno-...

    apr-util-1.6.1.zip

    1、httpd-2.4.41.tar 2、apr-1.7.0.tar 报错: rm: cannot remove `libtoolT': No such file or directory ..../configure --prefix=/usr/local/apache --with-apr=/usr/local/apr/ --with-apr=/usr/local/apr

    linux_automake使用实例

    依次执行命令:aclocal,libtoolize -f -c,autoconf,automake --add-missing,./configure,make。 3、cd */project/swap 依次执行命令:aclocal,autoconf,automake --add-missing,./configure,make。 4、cd *...

    一步步写嵌入式操作系统.zip

    编译错误2: gcc -g -O2 -o skyeye skyeye.o ./utils/libutils.a ./arch/arm/libarm.a ./device/libdev.a ./arch/mips/libmips.a ./arch/ppc/libppc.a ./arch/bfin/libbfin.a ./arch/mips/libmips.a ./arch/coldfire...

    arm-linux-gcc-4.3.2(交叉编译器)

    ding specs from /usr/local/arm/3.4.1/bin/../lib/gcc/arm-linux/3.4.1/specs Configured with: /opt/crosstool/crosstool-0.28/build/arm-linux/gcc-3.4.1-glibc-2.3.2/gcc-3.4.1/configure --target=arm-linux --...

    nginx离线安装文件

    #### ./configure或者./config ( 如果./configure提示错误,则使用./config ) make && make install 4,安装openssl( 如果提示错误,好像 可以不执行此布 ) tar -xvf openssl-1.0.2r.tar.gz && cd openssl-...

Global site tag (gtag.js) - Google Analytics