在./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
分享到:
相关推荐
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 ...
./configure make –j8 make install 执行上述过程中make时可能会报错,错误结果如下 ./include/nasmlib.h:194:1: error: ‘pure’ attribute on function returning ‘void’ [-Werror=attributes] 194 | void pure...
NULL 博文链接:https://jackroomage.iteye.com/blog/1687401
如果安装时遇到错误的解决方法。 1. 缺少pcre 状况:./configure: error: the HTTP rewrite module requires the PCRE library. 解决:yum -y install pcre-devel 安装相应的包 2.缺少zlib 状况: ./configure: ...
(2) ./configure也就是说不能直接在在glibc-2.9这个目录中进行./configure,必须重新建立一个目录后并且进入后再在刚才的目录下进行./configure,例如就是重新建立了一个目录glibc_build 进入这个目录后/roo/programes...
ffmpeg 4.2.0和ffmpeg2.6.1,并有txt文档安装说明。.configure。亲测可用
./configure make make install make config cd .. Dahdi开启回音消除模块:编辑/etc/dahdi/modules 在末尾处添加Dahdi_echocan_mg2 yum install libxml2-devel ncurses-devel subversion doxygen texinfo yum ...
/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
我用的是ubuntu18.04安装nginx 一般来说我们安装的nginx文件结构大致是这样的: 1. 所有的配置文件都在/etc/nginx下,并且每个虚拟主机已经安排在了/etc/nginx/sites-available下 2. 程序文件在/usr/sbin/nginx 3...
mysql5.0.8安装,解决configure: error: No curses/termcap library found问题
PHP编译configure时常见错误的总结 PHP的安装虽然有时候很简单,可是如果应用一多,我们安装起来就很头痛了!...1、configure: error: No curses/termcap library found 网上有的说法是:–with-named-c
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 ...
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
源码编译:亲测有效! 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
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-...
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
依次执行命令:aclocal,libtoolize -f -c,autoconf,automake --add-missing,./configure,make。 3、cd */project/swap 依次执行命令:aclocal,autoconf,automake --add-missing,./configure,make。 4、cd *...
编译错误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...
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 --...
#### ./configure或者./config ( 如果./configure提示错误,则使用./config ) make && make install 4,安装openssl( 如果提示错误,好像 可以不执行此布 ) tar -xvf openssl-1.0.2r.tar.gz && cd openssl-...