编译安装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
作者:ccku
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。如有问题或建议,请多多赐教,非常感谢。