当前位置:   article > 正文

The program ‘make‘ can be found in the following packages 的解决方法_the program 'make' can be found in the following p

the program 'make' can be found in the following packages:

问题:

编译时make失败,有如下报错:

  1. zyyy@ubuntu16:/home/zyy/build$ make
  2. The program 'make' can be found in the following packages:
  3. * make
  4. * make-guile
  5. Try: sudo apt install <selected package>

解决方法:

执行命令sudo apt-get install build-essential

  1. zyyy@ubuntu16:/home/zyy/build$ sudo apt-get install build-essential
  2. [sudo] password for zyyy:
  3. 正在读取软件包列表... 完成
  4. 正在分析软件包的依赖关系树
  5. 正在读取状态信息... 完成
  6. ......
  7. update-alternatives: 使用 /usr/bin/fakeroot-sysv 来在自动模式中提供 /usr/bin/fakeroot (fakeroot)
  8. 正在设置 libalgorithm-diff-perl (1.19.03-1) ...
  9. 正在设置 libalgorithm-diff-xs-perl (0.04-4build1) ...
  10. 正在设置 libalgorithm-merge-perl (0.08-3) ...
  11. 正在设置 libfile-fcntllock-perl (0.22-3) ...
  12. 正在设置 manpages-dev (4.04-2) ...
  13. 正在处理用于 libc-bin (2.23-0ubuntu11.2) 的触发器 ...
  14. zyyy@ubuntu16:/home/zyy/build$ make
  15. 正常

经过测试,编译正常。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/羊村懒王/article/detail/473878
推荐阅读
相关标签
  

闽ICP备14008679号