http://qs321.pair.com?node_id=1198933

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks

I am trying to install (cpan and also downloading the source and 'perl Makefile.PL', 'dmake test', 'dmake install') Win32::GuiTest on a Windows 10 with following strawberry perl (perl 5, version 22, subversion 0 (v5.22.0) built for MSWin32-x86-multi-thread-64int) and I am getting the following error while running 'dmake test':

C:\Users\XXX\.cpanplus\5.22.0\build\Win32-GuiTest-1.63>dmake test cp lib/Win32/GuiTest/GuiTest.pc blib\lib\Win32\GuiTest\GuiTest.pc cp lib/Win32/GuiTest.pm blib\lib\Win32\GuiTest.pm cp lib/Win32/GuiTest/Cmd.pm blib\lib\Win32\GuiTest\Cmd.pm cp lib/Win32/GuiTest/Examples.pm blib\lib\Win32\GuiTest\Examples.pm Running Mkbootstrap for Win32::GuiTest () "C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e chmod -- 644 +"GuiTest.bs" "C:\Strawberry\perl\bin\perl.exe" -IC:\STRAWB~1\perl\lib -IC:\STRAWB~1 +\perl\lib "C:\Strawberry\perl\lib\ExtUtils\xsubpp" -typemap "C:\STRA +WB~1\perl\lib\ExtUtils\typemap" -typemap "perlobject.map" -typemap "t +ypemap" GuiTest.xs >xstmp.c && "C:\Strawberry\perl\bin\perl.exe" -MEx +tUtils::Command -e mv -- xstmp.c GuiTest.cpp gcc -c -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT +_CONTEXT -DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfie +lds -s -O2 -DVERSION=\"1.63\" -DXS_VERSION=\"1.63\" "-IC:\STR +AWB~1\perl\lib\CORE" GuiTest.cpp gcc -c -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT +_CONTEXT -DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfie +lds -s -O2 -DVERSION=\"1.63\" -DXS_VERSION=\"1.63\" "-IC:\STR +AWB~1\perl\lib\CORE" DibSect.cpp "C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Mksymlists \ -e "Mksymlists('NAME'=>\"Win32::GuiTest\", 'DLBASE' => 'GuiTest', + 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' = +> []);" dlltool --def GuiTest.def --output-exp dll.exp g++ -o blib\arch\auto\Win32\GuiTest\GuiTest.xs.dll -Wl,--base-file -Wl +,dll.base -mdll -s -L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~1\c\lib +" GuiTest.o DibSect.o "C:\STRAWB~1\perl\lib\CORE\libperl522.a" -lmo +ldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 - +lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm +-lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp dlltool --def GuiTest.def --base-file dll.base --output-exp dll.exp g++ -o blib\arch\auto\Win32\GuiTest\GuiTest.xs.dll -mdll -s -L"C:\STRA +WB~1\perl\lib\CORE" -L"C:\STRAWB~1\c\lib" GuiTest.o DibSect.o "C:\S +TRAWB~1\perl\lib\CORE\libperl522.a" -lmoldname -lkernel32 -luser32 -l +gdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 - +lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 + -lcomctl32 dll.exp "C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e chmod -- 755 +blib\arch\auto\Win32\GuiTest\GuiTest.xs.dll "C:\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::H +arness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\l +ib', 'blib\arch')" t/*.t t/01_basic.t ..... ok t/02_calc.t ...... skipped: this test is phased out t/03_cpl.t ....... ok t/04_std.t ....... ok t/05_which.t ..... ok t/06_sendkeys.t .. 1/? 18 != 17 array1:18 0 17 0 55 0 55 2 18 2 17 2 array2:17 0 18 0 55 0 55 2 17 2 18 2 # Failed test 'escaped {' # at t/06_sendkeys.t line 136. 17 != 18 array1:17 0 18 0 187 0 187 2 17 2 18 2 array2:18 0 17 0 187 0 187 2 18 2 17 2 # Failed test 'escaped ~' # at t/06_sendkeys.t line 141. 17 != 18 array1:18 0 17 0 55 0 55 2 18 2 17 2 17 0 18 0 55 0 55 2 17 2 18 2 array2:18 0 17 0 55 0 55 2 18 2 17 2 18 0 17 0 55 0 55 2 18 2 17 2 # Failed test 'escaped {{' # at t/06_sendkeys.t line 142. # Looks like you failed 3 tests of 40. t/06_sendkeys.t .. Dubious, test returned 3 (wstat 768, 0x300) Failed 3/40 subtests Test Summary Report ------------------- t/06_sendkeys.t (Wstat: 768 Tests: 40 Failed: 3) Failed tests: 27, 32-33 Non-zero exit status: 3 Files=6, Tests=72, 9 wallclock secs ( 0.06 usr + 0.03 sys = 0.09 CP +U) Result: FAIL Failed 1/6 test programs. 3/72 subtests failed. dmake: Error code 131, while making 'test_dynamic'

While installing I can see Notepad been opened, written, and closed. After it appears the error message. Any idea?

Replies are listed 'Best First'.
Re: Issue installing Win32::GuiTest with Strawberry perl
by jfroebe (Parson) on Sep 09, 2017 at 13:34 UTC

    Did you try reporting it to the maintainer? Win32::GuiTest

    I don't see any open bugs in rt.cpan.org

    Jason L. Froebe

    Tech Blog

Re: Issue installing Win32::GuiTest with Strawberry perl
by Anonymous Monk on Sep 08, 2017 at 22:38 UTC
    ignore the error