在linux系统中安装perl程序编译的最后几步或者已经安装完成、运行程序时,可能会出现“Can't locate Term/ReadKey.pm in @INC” 的错误。
Term::ReadKey - A perl module for simple terminal control
Term::ReadKey is a compiled perl module dedicated to providing simple control over terminal driver modes (cbreak, raw, cooked, etc.,) support for non-blocking reads, if the architecture allows, and some generalized handy functions for working with terminals. One of the main goals is to have the functions as portable as possible, so you can just plug in "use Term::ReadKey" on any architecture and have a good likelyhood of it working.
以上来源于cpan.org对于Term::ReadKey的说明,可以看出Term::ReadKey是一个已经编译好的模块,能够为各种终端驱动模式提供控制。我认为Term::ReadKey类似于一个底层框架,为各种perl程序提供支持。
解决方法 :
在终端中输入
#cpan,
如果不行,则输入
#perl -MCPAN -e "shell".
然后出现cpan>提示符后,输入命令
install Term::ReadKey.
正常情况下, 系统就会自动寻找合适的镜像站点,从网络安装Term::ReadKey.
再编译或运行,程序就可以了。
分享到:
相关推荐
Can’t locate ExtUtils/MakeMaker.pm in @INC (@INC contains: inc /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5
今天小编就为大家分享一篇关于解决Can't locate ExtUtils/MakeMaker.pm in @INC报错,小编觉得内容挺不错的,现在分享给大家,具有很好的参考价值,需要的朋友一起跟随小编来看看吧
Can't locate ThreadQueue.pm
linux diff 命令的说明, 对于 diff 命令的很详细的输出说明
OpenSSL是一个开源的ssl技术,由于我需要使用php相关功能,需要获取https的文件所以必须安装这个东西了,下面我整理了两种关于OpenSSL安装配置方法。 安装环境: 操作系统:CentOs7安静 OpenSSL Version:...
webrtc owt 构建: openssl-OpenSSL_1_1_1-stable VS2019 X86 源码动态库静态库 解决 Can’t locate Win32/Console.pm in @INC (you may need to install the Win32::Console module)
【OEM】OEM安装维护.pdf【OEM】OEM安装维护.pdf【OEM】OEM安装维护.pdf
ASP源代码, 海康威视NVR嵌入设备中是带有WEB程序的,但是却不提供源代码下载,http://192.168.5.107/doc/page/login.asp 这是我从DS-8632N-ST设备中导出的ASP程序, 大家可以参考一下。
WebComponents.exe,官方控件,浏览器安装后 ,重启浏览器即可
RHEL 7.1安装MySQL 5.6的依赖包:perl-Data-Dumper-2.145-3.el7.x86_64.rpm ------------------------------------------------------------------------------------
海康摄像头支持spring boot ,采用插件和rtsp方式,web形式显示, 海康摄像头支持spring boot ,采用插件和rtsp方式,web形式显示
Error: Plugin load for plugin 'decodeutfkeys' failed with return code: Error: Can't locate URI/Escape.pm in @INC (@INC contains: /usr/lib/perl5/5.8.7/i686-linux /usr/lib/perl5/5.8.7 /usr/lib/perl...
户第一次登录用户平台打开一台在线的海康设备查看视频时可能无法打开播放,原因是用户电脑还未安装播放视频所需的IE浏览器插件,视图区域出现插件未被加载的状态,
site_indoorpi
install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/...
mcpa介绍 应用安装等等等等等等等等等等等等等等等等等等等等等等等
NULL 博文链接:https://diaoweili.iteye.com/blog/768305
* * * * * * * D A T A M E M O R Y * * * * * * * REG 0000H 0008H ABSOLUTE "REG BANK 0" DATA 0008H 0003H UNIT ?DT?CHUANKOU IDATA 000BH 0001H UNIT ?STACK * * * * * * * C O D E M E M O R Y * * * * *...
> Locate `ExpGame.pro` and select it 3. Build project 4. Run Alternatively, if you want to build outside of Qt Creator, this is possible as long as your system has both `qmake` and `make`. In that ...
Could not locate zlibwapi.dll. Please make sure it is in your library path 解决该问题: lib文件放到C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\lib dll文件放到C:\Program Files\NVIDIA GPU ...