转自:http://www.91rhca.com/976.html
Make错误详细信息:
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_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 `/tmp/NagiosServerInstall/rrdtool-1.2.14/bindings' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/tmp/NagiosServerInstall/rrdtool-1.2.14/bindings' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/NagiosServerInstall/rrdtool-1.2.14' make: *** [all] Error 2
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_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 `/tmp/NagiosServerInstall/rrdtool-1.2.14/bindings'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/NagiosServerInstall/rrdtool-1.2.14/bindings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/NagiosServerInstall/rrdtool-1.2.14'
make: *** [all] Error 2 |
解决方法:
yum install perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker
1 |
yum install perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker |