"none" is not exported by the List::Util module
001、make命令报错如下:
"none" is not exported by the List::Util module
002、解决方法
将 /usr/local/bin/automake-1.16文件的76行中的 ‘none’删除
(base) [root@pc1 build]# sed -n '76p' /usr/local/bin/automake-1.16 ## 列出76行 use List::Util 'none'; (base) [root@pc1 build]# sed -i $'76 s/ \'none\'//' /usr/local/bin/automake-1.16 ## 删除 76行中 'none' (base) [root@pc1 build]# sed -n '76p' /usr/local/bin/automake-1.16 ## 列出76行 use List::Util;
003、make测试(没得问题)
。
参考:
01、https://www.cppblog.com/jack-wang/archive/2022/01/21/229182.html