我正在尝试为Windows perl v5.20创建DWIM
所以我安装了Padre 1.0的所有依赖
Padre-ide github repo,
dwimperl-windows
我在dmake测试中有错误
padre_log_2.txt
您有任何维修的想法吗?
所有的错误使我感到困惑,
我无法想象如何启动调试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
错误更有趣
Possible precedence issue with control flow operator at
01_dmake_test.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.
看到
error.log
01_padre_debug.pl
最佳答案
我将如下所述重新安装DWIM:
从here下载DWIM
将DWIM安装到C:\ DWIMPerl_5.14.2并测试安装。然后启动Padre
Padre启动并运行
这已在Windows 7 Professional上成功完成。