C/C++教程

编译安装RRDtool时报错:Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/l_perl /usr/lib6

本文主要是介绍编译安装RRDtool时报错:Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/l_perl /usr/lib6,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

编译安装RRDtool时报错:Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/l_perl /usr/lib64/perl5 /usr/share/perl5 .) at Makefile.PL line 1.

 

环境:
centos 6.0 64位
rrdtool 1.4.5
问题:

Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/l_perl /usr/lib64/perl5 /usr/share/perl5 .) at Makefile.PL line 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.
make[3]: *** [perl-piped/Makefile] Error 2
make[3]: Leaving directory `/root/rrdtool/rrdtool-1.4.5/bindings'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/rrdtool/rrdtool-1.4.5/bindings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/rrdtool/rrdtool-1.4.5'
make: *** [all] Error 2

解决办法:

yum install perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker -y

文章来自:https://www.cnblogs.com/ccku/p/13656795.html
这篇关于编译安装RRDtool时报错:Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/l_perl /usr/lib6的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!