【问题标题】:Can't locate IPC::SysV in Windows or Log::Log4perl::Appender::Synchronized在 Windows 中找不到 IPC::SysV 或 Log::Log4perl::Appender::Synchronized
【发布时间】:2016-07-08 06:21:25
【问题描述】:

我的 Perl 项目出现错误

Here is a screenshot of the problem

我使用 CPAN 安装了Log::Log4perl 模块,当我以同样的方式安装IPC::SysV 模块时,它显示操作系统不受支持。

我被困在了这一点上。谁能指导我?

  ERROR: can't load appenderclass 'Log::Log4perl::Appender::Synchronized'
  Can't locate IPC/SysV.pm in @INC (@INC contains:

【问题讨论】:

  • 您要在哪个操作系统上执行此操作?
  • 我严重怀疑 Windows 是否支持 Unix SysV IPC。
  • 那么我该如何修复它,是否有任何替代模块......
  • IPC::SysV 使用 Cygwin 在 Windows 上构建良好,但是不支持某些/所有功能:IPC::Msg, IPC::Semaphore, and IPC::SharedMem
  • 您只是想启用某种日志记录吗?对您的修复可能只是选择一个不同的 Appender 类,它不依赖于 IPC::SysV。

标签: windows perl windows-7 moose


【解决方案1】:

您看到的错误消息是准确的。正如the documentation 所说,IPC::SysV 适用于 AT&T System V 计算机,但您运行的是 Windows 7

【讨论】:

    猜你喜欢
    • 2014-08-18
    • 1970-01-01
    • 2023-03-11
    • 2011-09-20
    • 1970-01-01
    • 1970-01-01
    • 2022-01-08
    • 1970-01-01
    • 2018-06-26
    相关资源
    最近更新 更多