Linux下报错make: *** No targets specified and no makefile found. Stop.

Linux下报错make: *** No targets specified and no makefile found. Stop.,第1张

昨天在给客户解决网站问题时,排查问题出现报错如下: make: *** No targets specified and no makefile found. Stop 这个是因为客户的服务器在编译安装nginx的时候,并没有执行./configure就直接make了,才导致这个报错,问题很简单。 解决办法: 按顺序执行以下命令安装ncurseswget 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/local -with-shared -without-debug make make install PS:执行之前要确保gcc是已经安装的,直接yum就可以的。还要确保最新版系统软件用update来搞定!本文来自:IT运维空间,原地址:www.94ip.comhttps://www.94ip.com/post/793.html

make报错有很多原因,基本上都是缺少系统组件,解决办法是根据报错信息,里面都会说明需要什么系统组件,什么版本,你就相应的安装这些版本的系统组件就可以正常通过check和make了。


欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/yw/7576415.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2023-04-07
下一篇2023-04-07

发表评论

登录后才能评论

评论列表(0条)

    保存