[lug] Forcing Install from CPAN

Shannon Johnston nunar at nunar.com
Tue Mar 5 11:38:30 MST 2002


I haven't done a lot of installing of the perl modules from CPAN and I'm
getting a few errors. Does anybody know how to force an install??

Shannon

Taken from install:

cpan> install Net::Telnet
Running make for J/JR/JROGERS/Net-Telnet-3.02.tar.gz
  Unwrapped into directory /root/.cpan/build/Net-Telnet-3.02
  Has already been processed within this session
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/lib/perl5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0 -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/select....FAILED test
3                                                    
        Failed 1/3 tests, 66.67% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/select.t                 3    1  33.33%  3
Failed 1/1 test scripts, 0.00% okay. 1/3 subtests failed, 66.67% okay.
make: *** [test_dynamic] Error 9
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force


cpan> install Net::Telnet::Cisco
Running make for J/JO/JOSHUA/Net-Telnet-Cisco-1.08.tar.gz
  Unwrapped into directory /root/.cpan/build/Net-Telnet-Cisco-1.08
  Has already been processed within this session
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/lib/perl5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0 test.pl
1..30
not ok 1 - use Net::Telnet::Cisco;
#     Failed test (test.pl at line 21)
#     Tried to use 'Net::Telnet::Cisco'.
#     Error:  Can't locate Net/Telnet.pm in @INC (@INC contains:
blib/arch blib/lib /usr/lib/perl5/5.6.0/i386-linux
/usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
/usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl .) at blib/lib/Net/Telnet/Cisco.pm line 15.
# BEGIN failed--compilation aborted at blib/lib/Net/Telnet/Cisco.pm line
15.
# Compilation failed in require at (eval 2) line 2.

Net::Telnet::Cisco needs to log into a router to
perform it's full suite of tests. To log in, we
need a test router, a login, a password, an
optional enable password, and an optional
SecurID/TACACS PASSCODE.

To skip these tests, hit "return".

Router: 
not ok 2 - $VERSION set
#     Failed test (test.pl at line 23)
ok 3 # skip Won't login to router without a login and password.
ok 4 # skip Won't login to router without a login and password.
ok 5 # skip Won't login to router without a login and password.
ok 6 # skip Won't login to router without a login and password.
ok 7 # skip Won't login to router without a login and password.
ok 8 # skip Won't login to router without a login and password.
ok 9 # skip Won't login to router without a login and password.
ok 10 # skip Won't login to router without a login and password.
ok 11 # skip Won't login to router without a login and password.
ok 12 # skip Won't login to router without a login and password.
ok 13 # skip Won't login to router without a login and password.
ok 14 # skip Won't login to router without a login and password.
ok 15 # skip Won't login to router without a login and password.
ok 16 # skip Won't login to router without a login and password.
ok 17 # skip Won't login to router without a login and password.
ok 18 # skip Won't login to router without a login and password.
ok 19 # skip Won't login to router without a login and password.
ok 20 # skip Won't login to router without a login and password.
ok 21 # skip Won't login to router without a login and password.
ok 22 # skip Won't enter enabled mode without an enable password
ok 23 # skip Won't enter enabled mode without an enable password
ok 24 # skip Won't enter enabled mode without an enable password
# Looks like you planned 30 tests but only ran 24.
make: *** [test_dynamic] Error 8
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force








More information about the LUG mailing list