缺少开发::Peek 模块

Posted

技术标签:

【中文标题】缺少开发::Peek 模块【英文标题】:Missing Devel::Peek module 【发布时间】:2021-03-27 09:37:00 【问题描述】:

我的 Perl 缺少一个 Devel::Peek 结节。


# cpanm B::COW
--> Working on B::COW
Fetching http://www.cpan.org/authors/id/A/AT/ATOOMIC/B-COW-0.004.tar.gz ... OK
Configuring B-COW-0.004 ... OK
==> Found dependencies: Devel::Peek
skipping X/XS/XSAWYERX/perl-5.32.0.tar.gz
! Installing the dependencies failed: Module 'Devel::Peek' is not installed
! Bailing out the installation for B-COW-0.004.

# cpanm Devel::Peek
skipping X/XS/XSAWYERX/perl-5.32.0.tar.gz

我认为它应该默认包含在我的 Perl 安装中,但事实并非如此。

# perl -v

This is perl 5, version 26, subversion 3 (v5.26.3) built for x86_64-linux-thread-multi
(with 51 registered patches, see perl -V for more detail)

Copyright 1987-2018, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

我该如何解决这个问题?我应该采取什么解决方法?

【问题讨论】:

也许这就是问题所在 - bugzilla.redhat.com/show_bug.cgi?id=1675130。虽然这是针对 5.24 的,但看起来与您的情况相似。 【参考方案1】:

通过安装 Perl 包修复

yum perl-Devel-Peek

【讨论】:

以上是关于缺少开发::Peek 模块的主要内容,如果未能解决你的问题,请参考以下文章

模块化开发规范

IMAP UID FETCH BODY.PEEK[] 命令响应

Rails:预编译资产缺少节点模块

如何解决“动画:不支持`useNativeDriver`,因为缺少原生动画模块。”在反应导航中?

Python通过win32com运行MessageQueue.Peek,如何正确设置超时时间?

Spring boot 打包为war包报错:提示缺少web.xml