in reply to Re: Using Win32::SerialPort on Win7-64bit under 64-bit Strawberry Perl
in thread Using Win32::SerialPort on Win7-64bit under 64-bit Strawberry Perl
C:\strawberry\perl\bin>perl -MCPAN -e "install Win32::SerialPort" Database was generated on Fri, 02 May 2014 14:16:35 GMT Running install for module 'Win32::SerialPort' Running make for B/BB/BBIRTH/Win32-SerialPort-0.22.tar.gz Fetching with LWP: http://cpan.strawberryperl.com/authors/id/B/BB/BBIRTH/Win32-SerialPort-0.22.tar.gz Fetching with LWP: http://cpan.strawberryperl.com/authors/id/B/BB/BBIRTH/CHECKSUMS Checksum for C:\strawberry\cpan\sources\authors\id\B\BB\BBIRTH\Win32-SerialPort-0.22.tar.gz ok CPAN.pm: Building B/BB/BBIRTH/Win32-SerialPort-0.22.tar.gz found result=0, file=COM1 Win32::SerialPort and Win32API::CommPort VERSION 0.22 A 'Makefile' created for those with 'make' or CPAN.pm users. It will test using PORT = COM1. To test using a different PORT, run again specifying: 'perl Makefile.PL TESTPORT=<PORT>' The normal 'Mantra' would then apply: make make test make install For those without 'make' or an equivalent like 'nmake' or 'dmake' there are perl-only scripts which do the same things: Test with: perl nomake_test Install with: perl nomake_install Test with nothing connected to COM1. PORT is not verified present and accessible until tests run. Timeout tests can take up to 30 seconds per test. 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 cp lib/Win32API/CommPort.pm blib\lib\Win32API\CommPort.pm cp lib/Win32/SerialPort.pm blib\lib\Win32\SerialPort.pm BBIRTH/Win32-SerialPort-0.22.tar.gz C:\strawberry\c\bin\dmake.exe -- OK Running make test C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/test1.t .. 224/309 can't get COMMPROP block at t/test1.t line 665. can't get COMMPROP block at t/test1.t line 667. can't get COMMPROP block at t/test1.t line 668. can't get COMMPROP block at t/test1.t line 671. can't get COMMPROP block at t/test1.t line 673. # Failed test 'except zero if quiet' # at t/test1.t line 673. # got: undef # expected: '0' can't get COMMPROP block at t/test1.t line 674. 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 .. 239/? can't get COMMPROP block at t/test3.t line 699. can't get COMMPROP block at t/test3.t line 701. can't get COMMPROP block at t/test3.t line 702. can't get COMMPROP block at t/test3.t line 705. can't get COMMPROP block at t/test3.t line 707. # Failed test 'quiet is one' # at t/test3.t line 707. # got: undef # expected: '0' can't get COMMPROP block at t/test3.t line 708. can't get COMMPROP block at t/test3.t line 711. can't get COMMPROP block at t/test3.t line 714. can't get COMMPROP block at t/test3.t line 715. # Looks like you failed 1 test of 264. t/test3.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/264 subtests 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: 236 Non-zero exit status: 1 t/test3.t (Wstat: 256 Tests: 264 Failed: 1) Failed test: 254 Non-zero exit status: 1 Files=7, Tests=1808, 59 wallclock secs ( 0.31 usr + 0.03 sys = 0.34 CPU) Result: FAIL Failed 2/7 test programs. 2/1808 subtests failed. dmake.exe: Error code 255, while making 'test_dynamic' BBIRTH/Win32-SerialPort-0.22.tar.gz C:\strawberry\c\bin\dmake.exe test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports BBIRTH/Win32-SerialPort-0.22.tar.gz Running make install make test had returned bad status, won't install without force Stopping: 'install' failed for 'Win32::SerialPort'.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Using Win32::SerialPort on Win7-64bit under 64-bit Strawberry Perl
by dasgar (Priest) on May 02, 2014 at 15:40 UTC | |
by gri6507 (Deacon) on May 02, 2014 at 16:37 UTC | |
by syphilis (Archbishop) on May 03, 2014 at 00:33 UTC | |
by hollie (Novice) on Oct 20, 2014 at 11:18 UTC |