网站建设资讯

NEWS

网站建设资讯

在CentOS安装perl模块时报错

本篇文章给大家分享的是有关在CentOS 安装perl模块时报错,小编觉得挺实用的,因此分享给大家学习,希望大家阅读完这篇文章后可以有所收获,话不多说,跟着小编一起来看看吧。

创新互联公司基于分布式IDC数据中心构建的平台为众多户提供四川雅安服务器托管 四川大带宽租用 成都机柜租用 成都服务器租用。

在安装perl的模块时候,出现下面错误:

1、Can't locate ExtUtils/MakeMaker.pm in @INC

解决方法如下:

cd /root

wget http://files.directadmin.com/services/9.0/ExtUtils-MakeMaker-6.31.tar.gz

tar xvzf ExtUtils-MakeMaker-6.31.tar.gz

cd ExtUtils-MakeMaker-6.31

perl Makefile.PL

make

make install

2、Can't locate Digest/MD5.pm in @INC

Can't locate Digest/MD5.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 - line 693.

解决方法:

yum install perl-Digest-MD5

3、Can't locate ExtUtils/Manifest.pm in @INC

[root@localhost images]# cpanm install DBD::MySQL

--> Working on install

Fetching http://www.cpan.org/authors/id/D/DA/DAGOLDEN/install-0.01.tar.gz ... OK

==> Found dependencies: ExtUtils::MakeMaker

--> Working on ExtUtils::MakeMaker

Fetching http://www.cpan.org/authors/id/B/BI/BINGOS/ExtUtils-MakeMaker-7.30.tar.gz ... OK

Configuring ExtUtils-MakeMaker-7.30 ... OK

Can't locate ExtUtils/Manifest.pm in @INC (@INC contains: FatPacked::28224392=HASH(0x1aeab88) /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 /usr/bin/cpanm line 132.

解决方法:

yum install perl-ExtUtils-MakeMaker -y

以上就是在CentOS 安装perl模块时报错,小编相信有部分知识点可能是我们日常工作会见到或用到的。希望你能通过这篇文章学到更多知识。更多详情敬请关注创新互联行业资讯频道。


文章题目:在CentOS安装perl模块时报错
网页路径:http://cdweb.net/article/joojpp.html