我使用的是 Centos 7 机器,并且没有 root 访问权限。因此,我必须在本地编译所有内容,并将它们保存在我的 .local/ 目录下。
我需要编译autoconf,我编译autoconf-2.69。但我遇到以下错误:
Can't locate Data/Dumper.pm in @INC (@INC contains: ../lib /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 ../lib/Autom4te/C4che.pm line 33.
BEGIN failed--compilation aborted at ../lib/Autom4te/C4che.pm line 33.
Compilation failed in require at ../bin/autom4te line 37.
BEGIN failed--compilation aborted at ../bin/autom4te line 37.
make[2]: *** [autoconf.in] Error 2
make[2]: Leaving directory `/gpfs/hpchome/hasan90/build/autoconf-2.69/bin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/gpfs/hpchome/hasan90/build/autoconf-2.69'
make: *** [all] Error 2
我该如何解决这个问题?
答案1
您需要Data::Serializer
从安装CPAN:
cpan Data::Serializer