gpt4 book ai didi

perl - POSIX 模块的问题

转载 作者:行者123 更新时间:2023-12-03 21:38:49 25 4
gpt4 key购买 nike

将我的 mod_perl 站点从 Linux 主机移到 FreeBSD 后,日志文件中出现以下错误:

Your vendor has not defined POSIX macro SIGRTMIN, used at ../../lib/POSIX.pm (autosplit into ../../lib/auto/POSIX/SigRt/_init.al) line 993\n



该脚本仅导入 POSIX 并利用一些功能(ceil 等)

我该如何解决这个问题?

最佳答案

试试 importing模块中只有几个(或没有)例程:

use POSIX ();
my $n = POSIX::ceil(1.1);

这曾经在相同的情况下对我有用,我不知道为什么:)

关于perl - POSIX 模块的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2966896/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com