On Sun, Jul 22, 2007 at 10:18:03PM -0500, Steve Peters wrote:
> On Sun, Jul 22, 2007 at 02:24:10PM -0700, Jack Bates wrote:
> > Package: perl
> > Version: 5.8.8-7
> > Severity: wishlist
> > 
> > I wish there were a way to pass 'force' to the cpan script.
> > 
> > [EMAIL PROTECTED]:~$ cpan MIRK/Net-Z3950-ZOOM-1.08.tar.gz
> > [...]
> > Failed Test          Stat Wstat Total Fail  Failed  List of Failed
> > -------------------------------------------------------------------------------
> > t/1-Net-Z3950-ZOOM.t    1   256    22    1   4.55%  20
> > t/2-ZOOM.t              1   256    22    1   4.55%  20
> > Failed 2/22 test scripts, 90.91% okay. 2/680 subtests failed, 99.71% okay.
> > make: *** [test_dynamic] Error 255
> >   /usr/bin/make test -- NOT OK
> > Running make install
> >   make test had returned bad status, won't install without force
> > [EMAIL PROTECTED]:~$ 
> > 
> > Since most of the tests pass, I want to install this module anyway, but
> > there's no convenient way to pass 'force' to:
> > 
> > [EMAIL PROTECTED]:~$ cpan MIRK/Net-Z3950-ZOOM-1.08.tar.gz
> > 
> > Thanks, Jack
> > 
> 
> >From the cpan perldoc...
> 
>        f   Forces the specified action, when it normally would have failed.
> 
> Later in the examples...
> 
>                # force install modules ( must use -i )
>                cpan -fi CGI::Minimal URI
> 
> Seems like its already a feature to me.  Can someone confirm that the latest
> Debian version can do this?

Thanks for looking at this Steve. I tried:

[EMAIL PROTECTED]:~$ cpan -fi MIRK/Net-Z3950-ZOOM-1.08.tar.gz

With 5.8.8-7, without success:

[...]
Failed Test          Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/1-Net-Z3950-ZOOM.t    1   256    22    1   4.55%  20
t/2-ZOOM.t              1   256    22    1   4.55%  20
Failed 2/22 test scripts, 90.91% okay. 2/680 subtests failed, 99.71% okay.
make: *** [test_dynamic] Error 255
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force
[EMAIL PROTECTED]:~$ 

Thanks again, Jack

Attachment: signature.asc
Description: Digital signature

Reply via email to