Error while instaling Padre 1.0 on Windows, Strawberry Perl v5.20, how find root cause?

460 Views Asked by At

I'm trying create DWIM for Windows perl v5.20 So I install all depenencies for Padre 1.0 Padre-ide github repo, dwimperl-windows

and I have errors in dmake test

padre_log_2.txt

Have you got any ideas how to repair it?

All errors make me confusing, I couldn't imagine how start debug padre to find core of error (root cause)

even for first error

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.

or second

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.

well, I try the same thing with Padre 0.94 here build.log

error is more interesting Possible precedence issue with control flow operator at

01_dmake_test.log

I start debug step by step

perl -Ilib -MCarp::Always -e "use Test::More;use_ok('Padre::Config');done_testing()" > error.log 2>&1

and I got

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.

see error.log 01_padre_debug.pl

1

There are 1 best solutions below

9
On

I would re-install DWIM as described below:

  1. Download DWIM from here

  2. Install DWIM into C:\DWIMPerl_5.14.2 and test installation. Then start Padre

enter image description here

  1. Padre up and running

enter image description here

This was done successfully on Windows 7 Professional.