赞
踩
编译时make失败,有如下报错:
- zyyy@ubuntu16:/home/zyy/build$ make
- The program 'make' can be found in the following packages:
- * make
- * make-guile
- Try: sudo apt install <selected package>
执行命令sudo apt-get install build-essential
-
- zyyy@ubuntu16:/home/zyy/build$ sudo apt-get install build-essential
- [sudo] password for zyyy:
- 正在读取软件包列表... 完成
- 正在分析软件包的依赖关系树
- 正在读取状态信息... 完成
- ......
- update-alternatives: 使用 /usr/bin/fakeroot-sysv 来在自动模式中提供 /usr/bin/fakeroot (fakeroot)
- 正在设置 libalgorithm-diff-perl (1.19.03-1) ...
- 正在设置 libalgorithm-diff-xs-perl (0.04-4build1) ...
- 正在设置 libalgorithm-merge-perl (0.08-3) ...
- 正在设置 libfile-fcntllock-perl (0.22-3) ...
- 正在设置 manpages-dev (4.04-2) ...
- 正在处理用于 libc-bin (2.23-0ubuntu11.2) 的触发器 ...
- zyyy@ubuntu16:/home/zyy/build$ make
- 正常

经过测试,编译正常。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。