Warning: prerequisite Test::More 0 not found.

 

001、执行 perl Makefile.PL警告如下:

(base) [root@pc1 JSON-PP-4.16]# perl Makefile.PL     ## 执行该命令报错如下
Warning: prerequisite Test::More 0 not found.
Writing Makefile for JSON::PP

 

 

002、解决方法

yum install perl*        ## 目前不知道是哪一个组件起作用了,但是通过测试可以解决问题(执行改名不十分耗时)

 

003、测试效果

(base) [root@pc1 JSON-PP-4.16]# perl Makefile.PL     ## 测试, 警告消失
Writing Makefile for JSON::PP
Writing MYMETA.yml and MYMETA.json

。 

 

posted @ 2023-11-08 17:32  小鲨鱼2018  阅读(65)  评论(0编辑  收藏  举报