delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/02/14/13:02:39

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <15484116.post@talk.nabble.com>
Date: Thu, 14 Feb 2008 10:01:43 -0800 (PST)
From: curator <alexander DOT pohl AT rwth-aachen DOT de>
To: cygwin AT cygwin DOT com
Subject: RE: Perl with SerialPort
In-Reply-To: <01d101c86e95$36d4b030$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Nabble-From: alexander DOT pohl AT rwth-aachen DOT de
References: <15468287 DOT post AT talk DOT nabble DOT com> <01d101c86e95$36d4b030$2e08a8c0 AT CAM DOT ARTIMI DOT COM>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi, 
I tried to install Device::serialport i downloaded from cpan page.

i extracted it and startet
perl Makefile.PL

This ended with some error which is logged in config.log.

Here is the part of it, which shows the error

configure:2084: gcc    conftest.c  >&5
gcc: installation problem, cannot exec `as': No such file or directory
configure:2087: $? = 1
configure:2125: result: 
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "Device::SerialPort"
| #define PACKAGE_TARNAME "device--serialport"
| #define PACKAGE_VERSION "1.04"
| #define PACKAGE_STRING "Device::SerialPort 1.04"
| #define PACKAGE_BUGREPORT "devser-bugs AT outflux DOT net"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2132: error: C compiler cannot create executables

Thanks for help again!

Alex

Dave Korn wrote:
> 
> On 13 February 2008 22:59, Dave Korn wrote:
> 
>> On 13 February 2008 22:46, Dave Korn wrote:
>> 
>>> On 13 February 2008 21:23, curator wrote:
>>> 
>>>> So the question is: i would like to prefer no 2. For that i have to
>>>> install SerialPort for Perl for cygwin.
>>>> 
>>>> Is this possible, and if yes, could you tell me how?
>>> 
>>>   I'm no perl expert,
>> 
>>   Still true, but I've found one thing out since sending that: 
> 
>   Still true, but I've found another:
> 
>> Running make test
>> /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,
>> 'blib/lib', 'blib/arch')" t/*.t 
>> t/01timing.............ok 4/7
>> t/01timing.............NOK 7#     Failed test (t/01timing.t at line 33)
>> # then: 207441765 now: 207443905 diff: 2140
>> # Looks like you failed 1 test of 7.
>> t/01timing.............dubious
> 
>   That diff is absolutely reliably consistently 2140 for me.  I'd
> speculate
> that maybe the cygwin signal emulation requires a context switch or two,
> to or
> away from the signal processing thread, and so we're seeing an extra
> quantum
> or two of constant overhead for systematic reasons.  So...
> 
>> looking at 01timing.t:- 
> 
>   Well, editing it in ~/.cpan/build/Device-SerialPort-1.04/t/, to be
> exact:
> 
>> # Allow 100ms fudge-time for slow calls, etc
>> ok( ($now-$then) <= 2100, "measured sleep as less than 2 seconds")
>> 	or diag("then: $then now: $now diff: ".($now-$then)); # test
> 
>   Change that to "100ms" and "<= 2200" and it goes ahead and installs.
> 
> 
>     cheers,
>       DaveK
> -- 
> Can't think of a witty .sigline today....
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Perl-with-SerialPort-tp15468287p15484116.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019