我正在尝试为 Windows perl v5.20 创建 DWIM 所以我为 Padre 1.0 Padre-ide github repo和 dwimperl-windows安装了所有依赖项
我在 dmake 测试中有错误
你有任何想法如何修复它吗?
所有错误都让我感到困惑,我无法想象如何开始调试 padre 来找到错误的核心(根本原因)
即使是第一个错误
t/02_new.t ................. 1/62 # Looks like you planned 62 tests but ran 1.
# Looks like your test exited with 255 just after 1.
或第二
t/05_project.t ............. 1/16 Invalid version format (non-numeric data) at C
:\Users\TOSH\Documents\GitHub\padre-mi\blib\lib/Padre/Wx/Menu/Debug.pm line 5.
BEGIN failed--compilation aborted at C:\Users\TOSH\Documents\GitHub\padre-mi\blib\lib/Padre/Wx/Menu/Debug.pm line 5.
Compilation failed in require at C:\Users\TOSH\Documents\GitHub\padre-mi\blib\lib/Padre/Wx/Menubar.pm line 72.
# Looks like you planned 16 tests but ran 2.
好吧,我在这里用Padre 0.94尝试同样的事情build.log
错误更有趣 控制流运算符的可能优先级问题
我一步一步开始调试
perl -Ilib -MCarp::Always -e "use Test::More;use_ok('Padre::Config');done_testing()" > error.log 2>&1
我得到了
Error: Failed to find share dir for dist 'Padre' at C:/Users/TOSH/Documents/GitHub/dwimperl-windows/strawberry-perl-5.20.0.1-32bit-portable/perl/vendor/lib/File/ShareDir.pm line 173.