Skip Menu |

This queue is for tickets about the Crypt-SSLeay CPAN distribution.

Report information
The Basics
Id: 27493
Status: resolved
Priority: 0/
Queue: Crypt-SSLeay

People
Owner: dland [...] cpan.org
Requestors: tk [...] giga.or.at
Cc:
AdminCc:

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



Subject: Crypt-SSLeay-0.55: interactivity bad for packaging
Date: Fri, 8 Jun 2007 09:59:35 +0200
To: bug-Crypt-SSLeay [...] rt.cpan.org
From: Thomas Klausner <tk [...] giga.or.at>
Hi! I just updated the Crypt-SSLeay package in pkgsrc to 0.55. It worked fine, except that I had to patch out the question for live tests from Makefile.PL. In pkgsrc, it should be possible to build packages unattendedly, and the interactive prompt makes this impossible. Is there a way to skip it by giving a flag? If not, could you please add one? Thank you, Thomas
From: dland [...] cpan.org
On Fri Jun 08 03:59:50 2007, wiz wrote: Show quoted text
> Hi! > > I just updated the Crypt-SSLeay package in pkgsrc to 0.55. > It worked fine, except that I had to patch out the question for live > tests from Makefile.PL. In pkgsrc, it should be possible to build > packages unattendedly, and the interactive prompt makes this > impossible. > > Is there a way to skip it by giving a flag? If not, could you please > add one?
From the documentation (README, Crypt::SSLeay.pm): For unattended (batch) installations, to be absolutely certain that Makefile.PL does not prompt for questions on STDIN, set the following environment variable beforehand: PERL_MM_USE_DEFAULT=1 (This is true for any CPAN module that uses ExtUtils::MakeMaker). The problem is that prompt() in ExtUtils::MakeMaker thinks it's talking to a tty. Regards, David