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

Hi Monks, does anybody knows if Win32::SerialPort works with Win7x64 and the Perl Version noted in the title? I receive the following error after fetching from CPAN:
Creating new t/DefaultPort.pm Creating new nomake_test Creating new nomake_install Checking if your kit is complete... Looks good Generating a dmake-style Makefile Writing Makefile for Win32::SerialPort Writing MYMETA.yml and MYMETA.json BBIRTH/Win32-SerialPort-0.22.tar.gz C:\strawberry-perl-5.24.0.1-32bit-PDL\perl\bin\perl.exe Makefile.PL +-- OK Running make for B/BB/BBIRTH/Win32-SerialPort-0.22.tar.gz cp lib/Win32/SerialPort.pm blib\lib\Win32\SerialPort.pm cp lib/Win32API/CommPort.pm blib\lib\Win32API\CommPort.pm BBIRTH/Win32-SerialPort-0.22.tar.gz C:\strawberry-perl-5.24.0.1-32bit-PDL\c\bin\dmake.exe -- OK Running make test "C:\strawberry-perl-5.24.0.1-32bit-PDL\perl\bin\perl.exe" "-MExtUtils: +:Command::MM" "-MTest::Harness " "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'b +lib\arch')" t/*.t t/test1.t .. 1/309 # Failed test at t/test1.t line 534. t/test1.t .. 305/309 # Looks like you failed 1 test of 309. t/test1.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/309 subtests t/test2.t .. ok t/test3.t .. ok t/test4.t .. ok t/test5.t .. ok t/test6.t .. 1/? SetCommState failed at t/test6.t line 306. t/test6.t .. ok t/test7.t .. ok Test Summary Report ------------------- t/test1.t (Wstat: 256 Tests: 309 Failed: 1) Failed test: 195 Non-zero exit status: 1 Files=7, Tests=1808, 62 wallclock secs ( 0.11 usr + 0.22 sys = 0.33 +CPU) Result: FAIL Failed 1/7 test programs. 1/1808 subtests failed. dmake.exe: Error code 255, while making 'test_dynamic' BBIRTH/Win32-SerialPort-0.22.tar.gz C:\strawberry-perl-5.24.0.1-32bit-PDL\c\bin\dmake.exe test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports BBIRTH/Win32-SerialPort-0.22.tar.gz Stopping: 'install' failed for 'Win32::SerialPort'. Failed during this command: BBIRTH/Win32-SerialPort-0.22.tar.gz : make_test NO cpan>
  • Comment on Win32::SerialPort install error on Strawberry Perl PDL 5.24.0.1-32bit
  • Download Code

Replies are listed 'Best First'.
Re: Win32::SerialPort install error on Strawberry Perl PDL 5.24.0.1-32bit
by Anonymous Monk on Aug 26, 2016 at 06:54 UTC

    Hi Monks, does anybody knows if Win32::SerialPort works with Win7x64 and the Perl Version noted in the title?

    Hmm, try it out?

    I receive the following error after fetching from CPAN:

    Joke: this message means that you must put your computer in the microwave for 5 minutes on 100% power, then drown it in the sink

    Read Bug #113337 for Win32-SerialPort: Does not work on 64-bit Windows

    One of the things it says is to use a 32-bit perl on 64-bit windows if you want this module to do stuff

      It does not work for x32 too. CPANTesters says 5.14 is working. I will try it. THank you!
        It seems to install after trying a
        perl nomake_install
        Lets try it ;)