Can't locate XML/Simple.pm in @INC (@INC contains: /opt/local/lib

苹果电脑上使用perl发现下面这个错误:

Can‘t locate XML/Simple.pm in @INC (@INC contains: /opt/local/lib

解决方法:

sudo cpan install XML::Simple

这个安装时间有点长。

Can't locate XML/Simple.pm in @INC (@INC contains: /opt/local/lib

时间: 2024-10-07 12:35:46

Can't locate XML/Simple.pm in @INC (@INC contains: /opt/local/lib的相关文章

Can't locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/local/lib64/perl5

今天在服务器上安装nginx,报下面的错误:Can't locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/local/lib64/perl5,以为是没有装perl,就去yum install perl perl-dev都给装了,还是没有解决问题,最后找到个老外的论坛上才知道怎么解决. 系统:centos 6.3 64位 解决办法: yum install cpan -y yum install perl-ExtUtils-CBuilder

can't locate ExtUtils/MakeMaker.pm in @INC

[[email protected] FCGI-0.71]# perl Makefile.PL can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at Makef

Can't locate Time/HiRes.pm in @INC (@INC contains

Can't locate Time/HiRes.pm in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at /usr/bin/innobackupex line 23.BEGIN failed--compilation abort

Can't locate Log/Dispatch.pm in @INC /Makefile out-of-date with respect to Makefile.PL

mha check的时候报错问题解决: # masterha_check_ssh --conf=/data/mha/app1.cnf Can't locate Log/Dispatch.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/shar

Can't locate Time/HiRes.pm in @INC

ERROR innobackupex --user=root  --defaults-file=/usr/local/mysql/my.cnf Can't locate Time/HiRes.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/s

Can't locate Log/Dispatch.pm in @INC

记录一下配置mha的时候遇到的错误,使用perl模块发送邮件的时候报以下错误: # masterha_check_ssh --conf=/data/mha/app1.cnf Can't locate Log/Dispatch.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/l

linux安装软件报错: Can't locate ExtUtils/Embed.pm in @INC...

安装snmp服务, 中间报错: Can't locate ExtUtils/Embed.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 .).BEGIN failed--compilation aborted. 到网上

Linux 安装MySql启动Can't locate Data/Dumper.pm in @INC

通过RPM包CentOS7 安装MySQL的时候提示“Can't locate Data/Dumper.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 /usr/bin/mysql_install_db l

ubuntu 14 安装XML::Simple 模块

最近需要用到perl 来解析xml 文件,从网上搜索了一下,大部分都建议使用XML::Simple 模块来解析,这里记录一下安装过程 方法一: 直接使用CPAN 来安装模块 $ perl -MCPAN -e shell cpan> install XML::Simple cpan> quit 方法二: 执行ubuntu 自带的命令安装 $>aptitude install libxml-simple-perl 方法三: 从CPAN 网站下载源码自己编译安装 1 由于ubuntu 环境缺少