ccherri has asked for the wisdom of the Perl Monks concerning the following question:
Hello again,
I have now written thousands of line of perl and have been having a great time. Having delivered several products, I am now attempted a ground up build based on strawberry since my previous build was an inherited activestate version.
That said, I have strawberry installed, path updated, etc. I want to install Win32API::CommPort using cpanm and it consistently fails. Tried install Win32API::SerialPort first, same result. I tested com1 it works. I put a loopback on pins 2-3, still fails.
terminal shows
c:\strawberry>cpanm Win32::SerialPort
--> Working on Win32::SerialPort
Fetching http://www.cpan.org/authors/id/B/BB/BBIRTH/Win32-SerialPort-0.22.tar.gz ... OK
Configuring Win32-SerialPort-0.22 ... OK
Building and testing Win32-SerialPort-0.22 ... FAIL
! Installing Win32::SerialPort failed. See \.cpanm\build.log for details.
from the log file it get...
Test Summary Report
-------------------t/test1.t (Wstat: 1280 Tests: 309 Failed: 5)
Failed tests: 53, 57, 61, 210, 219
Non-zero exit status: 5
t/test2.t (Wstat: 768 Tests: 146 Failed: 3)
Failed tests: 5-7
Non-zero exit status: 3
t/test3.t (Wstat: 768 Tests: 264 Failed: 3)
Failed tests: 40, 44, 48
Non-zero exit status: 3
t/test4.t (Wstat: 3072 Tests: 518 Failed: 12)
Failed tests: 5-7, 83-85, 232-234, 294-296
Non-zero exit status: 12
Files=7, Tests=1808, 59 wallclock secs ( 0.22 usr + 0.08 sys = 0.30 CPU)
Result: FAIL
Failed 4/7 test programs. 23/1808 subtests failed.
dmake.exe: Error code 255, while making
'test_dynamic'
-> FAIL Installing Win32API::CommPort failed. See \.cpanm
\build.log for details.
I made great use of the serial ports on my activestate install, but am really interested in getting this going on strawberry. Also, I installed Win32::API just fine.
Any hints???
|
---|