解决Can’t locate ExtUtils/MakeMaker.pm in @INC

简介: 安装mysqlsla-2.03,执行Perl脚本报错Can’t locate ExtUtils/MakeMaker.

安装mysqlsla-2.03,执行Perl脚本报错Can’t locate ExtUtils/MakeMaker.pm in @INC
解决如下

 # wget http://files.directadmin.com/services/9.0/ExtUtils-MakeMaker-6.31.tar.gz
 # tar xvzf ExtUtils-MakeMaker-6.31.tar.gz -C /opt/
 # cd /opt/ExtUtils-MakeMaker-6.31/ 
 # perl Makefile.PL 
 # make 
 # make install 

如果执行报如下错误

# perl Makefile.PL 
Checking if your kit is complete...
Looks good
Could not open '': No such file or directory at lib/ExtUtils/MM_Unix.pm line 2697.

则需安装依赖环境

# yum install perl-ExtUtils-MakeMaker
目录
相关文章
|
1月前
|
Linux 数据库
find、locate和grep命令对比
在Linux系统中,`find`、`locate`和`grep`命令各有特点。`find`通过递归遍历文件系统,适合复杂条件搜索;`locate`通过预建数据库快速查找文件,但依赖数据库更新;`grep`用于文件内文本搜索,可结合`find`提高效率。选择合适的命令需根据具体需求和场景。
|
5月前
|
安全
Warning: Don’t paste code into the DevTools Console that you don’t understand or haven’t reviewed yo
Warning: Don’t paste code into the DevTools Console that you don’t understand or haven’t reviewed yo
|
编解码 并行计算
wrf--运行real.exe时报错:“Could not find level above ground“ error
在修改wrf初始场资料时,如果做了带通滤波处理,会发现在运行real.exe时报错:“Could not find level above ground” error 。
wrf--运行real.exe时报错:“Could not find level above ground“ error
error: ‘PRIO_PROCESS’ undeclared
error: ‘PRIO_PROCESS’ undeclared
98 0
error: passing ‘const AppJniCommand’ as ‘this’ argument discards qualifiers [-fpermissive]
error: passing ‘const AppJniCommand’ as ‘this’ argument discards qualifiers [-fpermissive]
103 0
解决办法: error: passing ‘const VideoFrame’ as ‘this’ argument discards qualifiers [-fpermissive]
解决办法: error: passing ‘const VideoFrame’ as ‘this’ argument discards qualifiers [-fpermissive]
239 0
sed: 1: “s/os.remove(“/xx/xxx. ...“: invalid command code f
sed: 1: “s/os.remove(“/xx/xxx. ...“: invalid command code f
|
C++
201312-5 I’m stuck!
201312-5 I’m stuck!
84 0
201312-5 I’m stuck!
SAP MM PR单据类型的配置里‘Control’和’Doc.Type’字段的作用?
SAP MM PR单据类型的配置里‘Control’和’Doc.Type’字段的作用?
SAP MM PR单据类型的配置里‘Control’和’Doc.Type’字段的作用?