小编Hor*_*nes的帖子

为什么我在Perl的PAR中得到“版本(5.12.2)与可执行版本不匹配”的信息?

当我运行以下命令从Perl脚本中创建可执行文件时:

pp -o process_target_mode_data Process_Target_Mode_Data.pl
Run Code Online (Sandbox Code Playgroud)

我得到以下错误输出:

 Perl lib version (5.12.2) doesn't match executable version (v5.12.0) at /home/Neil/ActivePerl-5.12/lib/Config.pm line 50.

Compilation failed in require at /home/Neil/ActivePerl-5.12/lib/Errno.pm line 8.
BEGIN failed--compilation aborted at /home/Neil/ActivePerl-5.12/lib/Errno.pm line 8.
Compilation failed in require at /home/Neil/ActivePerl-5.12/lib/File/Temp.pm line 148.
BEGIN failed--compilation aborted at /home/Neil/ActivePerl-5.12/lib/File/Temp.pm line 148.
Compilation failed in require at /home/Neil/ActivePerl-5.12/lib/Archive/Zip.pm line 14.
BEGIN failed--compilation aborted at /home/Neil/ActivePerl-5.12/lib/Archive/Zip.pm line 14.
Compilation failed in require at -e line 459.

/home/Neil/ActivePerl-5.12/site/bin/pp: Failed to extract a parl from 'PAR::StrippedPARL::Static' …
Run Code Online (Sandbox Code Playgroud)

perl par

5
推荐指数
1
解决办法
9615
查看次数

标签 统计

par ×1

perl ×1