Rat's Blog

Linux 出现"No targets specified and no makefile found"错误的解决方法

当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »

我们在Linux VPS中安装文件的时候,经常会出现各种各样的问题,比如出现"make:*** No targets specified and no makefile found.Stop."这样的错误提示。现在就说下这种错误的解决方法。

方法

1、更新最新版本系统软件

apt-get update

2、编译缺失关联软件

apt-get install gcc build-essential

编译执行完毕之后,我们在执行./configure && make这类的执行命令就可以解决问题。