Can't locate ExtUtils/MakeMaker

编译安装GP的时候报错:

$ cd gpdb-5.0.0-alpha.2
$ ./configure --prefix=/home/gpadmin/gpsql --with-gssapi --with-pgport=5432 --with-libedit-preferred --with-perl --with-python --with-openssl --with-pam --with-krb5  --with-libxml --enable-cassert  --enable-testutils --enable-depend
$ make
/usr/bin/perl Makefile.PL PREFIX='/usr' INSTALL_BASE='' --localedir='/usr/share/locale'  
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 3. BEGIN failed--compilation aborted at Makefile.PL line 3. make[1]: *** [perl.mak] Error 2 make: *** [perl/perl.mak] Error 2 

错误:
Can’t locate ExtUtils/MakeMaker.pm
解决方法:
yum install -y perl-ExtUtils-MakeMaker

你可能感兴趣的:(perl,ExtUtils,MakeMaker)