perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe M. Chiasson" <>
Subject [cpan #8418] Apache::Test Makefile enters infinite loop when running without a connected terminal
Date Sat, 13 Nov 2004 23:59:15 GMT
Max Maischein via RT wrote:

>This message about Apache-Test was sent to you by <>
>Full context and any attached attachments can be found at:
><URL: >
>the Apache::Test Makefile.PL enters an infinite loop when it is running 
>without a connected terminal and can't find the path to httpd. This is 
>very bad for CPAN testers who maybe don't have a httpd binary somewhere 
>to be found, and where the testing runs unattended. Please use the 
>prompt() function in ExtUtils::MakeMaker and don't enter a loop if the 
>default is accepted, or detect that Makefile.PL is run in unattended 
>mode and don't enter the loop at all.
We are already using ExtUtils::MakeMaker::prompt(), but the problem is 
that we don't quite
handle non-console TTYs proprely and do indeed loop infinitely. Easy to 
reproduce on a
system without httpd/apxs

Following patch fixes the problem for me.

View raw message