On Tue, Jul 24, 2007 at 09:00:04AM -0500, Steve Peters wrote:
> On Sun, Jul 22, 2007 at 11:02:29PM -0700, Jack Bates wrote:
> > 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
> 
> What version of CPAN is installed with your Perl.  The up to date CPAN 
> version is 1.9102.

tor% cpan -v
cpan script version 1.03
CPAN.pm version 1.7602
tor% 

I guess the version in perl-modules is a bit behind... I'll try
updating CPAN from CPAN.

It worked!

[EMAIL PROTECTED]:~$ 
PERL5LIB=/home/administrator/perl/lib/perl/5.8.8:/home/administrator/perl/share/perl/5.8.8
 perl/bin/cpan -fi MIRK/Net-Z3950-ZOOM-1.08.tar.gz
[...]
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
Installing /home/administrator/perl/lib/perl/5.8.8/auto/Net/Z3950/ZOOM/ZOOM.so
Installing /home/administrator/perl/lib/perl/5.8.8/auto/Net/Z3950/ZOOM/ZOOM.bs
Files found in blib/arch: installing files in blib/lib into architecture 
dependent library tree
Installing /home/administrator/perl/lib/perl/5.8.8/ZOOM.pm
Installing /home/administrator/perl/lib/perl/5.8.8/ZOOM.pod
Installing /home/administrator/perl/lib/perl/5.8.8/Net/Z3950.pm
Installing /home/administrator/perl/lib/perl/5.8.8/Net/Z3950/ZOOM.pm
Installing /home/administrator/perl/man/man3/ZOOM.3pm
Installing /home/administrator/perl/man/man3/Net::Z3950::ZOOM.3pm
Writing /home/administrator/perl/lib/perl/5.8.8/auto/Net/Z3950/ZOOM/.packlist
Appending installation info to 
/home/administrator/perl/lib/perl/5.8.8/perllocal.pod
  /usr/bin/make install  -- OK
[EMAIL PROTECTED]:~$ 

Much thanks Steve. It'll be great when the version of CPAN in Debian is
updated. Jack

Attachment: signature.asc
Description: Digital signature

Reply via email to