Skip Menu |
 

This queue is for tickets about the Win32-SerialPort CPAN distribution.

Report information
The Basics
Id: 89837
Status: open
Priority: 0/
Queue: Win32-SerialPort

People
Owner: Nobody in particular
Requestors: david [...] tulloh.id.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Install fails when Com1 is not present
Date: Tue, 29 Oct 2013 19:41:45 +1100
To: bug-Win32-SerialPort [...] rt.cpan.org
From: David Tulloh <david [...] tulloh.id.au>
Download (untitled) / with headers
text/plain 452b
Attempting to install Win32::SerialPort or Win32API::CommPort on a fresh Strawberry Perl install using > cpan install Win32::SerialPort My system did not have a Com1 The install process fails with the message : "Device COM1 does not appear to exist. Testing impossible" Attempting to install with the force flag (-f) or disabling testing (-T) also does not work. Remapping another Com port to have the address Com1 allowed me to force the install.
Subject: Re: [rt.cpan.org #89837] Install fails when Com1 is not present
Date: Tue, 29 Oct 2013 06:48:48 -0400
To: bug-Win32-SerialPort [...] rt.cpan.org
From: Bill Birthisel <bbirthisel [...] aol.com>
Download (untitled) / with headers
text/plain 2.1k
Hi David, I do not consider this a bug. The issue is that serial ports are hardware devices and the configurations can vary widely. When the tests were originally written(1999-2000), most systems had at least one and assigned it as COM1 - hence that is used as the default. But I have a netbook whose only serial port is a USB connection which is assigned to COM3. To accommodate this sort of variation, Makefile.PL accepts an optional parameter TESTPORT. From README.txt: Run 'perl Makefile.PL' first with nothing connected to "COM1". You can specify a diferent port to test with 'perl Makefile.PL TESTPORT=PORT'. I recommend you use a "traditional" hard-wired port for testing if available. Several tests are skipped for USB and other specialized ports. For those with make (e.g. Strawberry Perl), the normal mantra applies: perl Makefile.PL TESTPORT=port make make test make install Unfortunately, the fully automatic install via CPAN.pm does not (or did not the last time I looked) provide for optional parameters like this one (and auto-detecting what those settings should be). But I often run with Strawberry and the above instructions work fine. I just install from a command line. -bill On 10/29/2013 04:42 AM, David Tulloh via RT wrote: Show quoted text
> Tue Oct 29 04:42:18 2013: Request 89837 was acted upon. > Transaction: Ticket created by david@tulloh.id.au > Queue: Win32-SerialPort > Subject: Install fails when Com1 is not present > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: david@tulloh.id.au > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=89837 > > > > Attempting to install Win32::SerialPort or Win32API::CommPort on a fresh > Strawberry Perl install using > cpan install Win32::SerialPort > > My system did not have a Com1 > > The install process fails with the message : > "Device COM1 does not appear to exist. Testing impossible" > > Attempting to install with the force flag (-f) or disabling testing (-T) > also does not work. > > Remapping another Com port to have the address Com1 allowed me to force the > install. >
Subject: [rt.cpan.org #89837]
Date: Tue, 10 Feb 2015 13:31:56 +0100
To: bug-Win32-SerialPort [...] rt.cpan.org
From: Stefan Tauner <stefan.tauner [...] technikum-wien.at>
Download (untitled) / with headers
text/plain 552b
Hi Bill, I *do* consider this a bug. My rationale for this is that I need to build my modules in preparation for another host using local::lib. In such a configuration theses build-time tests do not make a lot of sense (but I can work around it for now). Kind regards, -- Dipl.-Ing. Stefan Tauner Research and Development Embedded Systems Department University of Applied Sciences Technikum Wien Hoechstaedtplatz 6, 1200 Vienna, Austria T: +43 1 333 40 77-316 E: stefan.tauner@technikum-wien.at I: embsys.technikum-wien.at I: www.technikum-wien.at
Download (untitled) / with headers
text/plain 318b
The bigger issue isn't the existence of COM1 vs another port name, or CPAM.pm's (in)ability to specify an alternate port for testing, but that installing the module at all is impossible if there are *no* ports currently available. It should be possible to at least install the module with notest or force in this case.
Subject: [rt.cpan.org #89837]
Date: Mon, 4 Sep 2017 17:12:28 +0000 (UTC)
To: "bugs-Win32-SerialPort [...] rt.cpan.org" <bugs-Win32-SerialPort [...] rt.cpan.org>
From: "R. Diez" <rdiezmail-temp2 [...] yahoo.de>
Download (untitled) / with headers
text/plain 151b
This bug is sufficiently serious (in my opinion) that I recently complained about it in www.perlmonks.org : http://www.perlmonks.org/?node_id=1196611
Download (untitled) / with headers
text/plain 734b
Hi, I think you can try the following command on Strawberry Perl. ppm install Win32::SerialPort I can install it on Strawberry Perl 5.14.4 and 5.16.3. I hope this helps. Thank you, -- twata On 2013-10月-29 火 04:42:18, david@tulloh.id.au wrote: Show quoted text
> Attempting to install Win32::SerialPort or Win32API::CommPort on a fresh > Strawberry Perl install using > cpan install Win32::SerialPort > > My system did not have a Com1 > > The install process fails with the message : > "Device COM1 does not appear to exist. Testing impossible" > > Attempting to install with the force flag (-f) or disabling testing (-T) > also does not work. > > Remapping another Com port to have the address Com1 allowed me to force the > install.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.