【问题标题】:How to install YAML::PP perl module by resolving this error?如何通过解决此错误来安装 YAML::PP perl 模块?
【发布时间】:2018-05-20 07:19:15
【问题描述】:

尝试在我的 Fedora 27 虚拟机上编译 Kdevelop 时,我不断收到此错误。 正如here中提到的,我尝试使用这条线kdesrc-build kdevelop

我得到了这样的回应:

kdesrc-build requires some minimal support to operate, including support from the Perl runtime that kdesrc-build is built upon.

Some mandatory Perl modules are missing, and kdesrc-build cannot operate
without them.  Please ensure these modules are installed and available to Perl:
one of (YAML::XS, YAML::PP, YAML::Syck)

所以我尝试使用cpan YAML::PP 安装 我得到了这个测试总结报告:

t/32.cyclic-refs.t      (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
Files=20, Tests=1198,  9 wallclock secs ( 0.29 usr  0.03 sys +  3.93 cusr  0.48 csys =  4.73 CPU)
Result: FAIL
Failed 1/20 test programs. 0/1198 subtests failed.
make: *** [Makefile:945: test_dynamic] Error 255
  TINITA/YAML-PP-0.006.tar.gz
one dependency not OK (Test::Warn); additionally test harness failed
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports TINITA/YAML-PP-0.006.tar.gz

This 是我得到的全部错误(由于字符限制,我无法在此处上传)

【问题讨论】:

    标签: fedora perl-module kdevelop


    【解决方案1】:

    您可以使用dnf 安装一些 perl 模块。所以对于这个问题,你可以做sudo dnf install perl-YAML-Syck(yaml::syck 是它说可以在上面工作的模块之一)。

    或者,为了完全避免这个问题,如果需要,您可以直接安装 kdevelop 而不编译它,使用 sudo dnf install kdevelop

    【讨论】:

      猜你喜欢
      • 2021-01-05
      • 2021-12-23
      • 2023-03-22
      • 2022-01-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-06-15
      • 1970-01-01
      相关资源
      最近更新 更多