> -----Original Message----- > From: Alexis VAILLANT [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 29, 2001 4:14 AM > To: 'perl ' > Subject: Problems With Net::Telnet Installation > > > Hi, > > I have problems with Net::Telnet installation > > I try to install it with : > > perl -MCPAN -e shell > > or > > perl Makefile.PL > make > make test > make install > > > i have the following response :: > > Running install for module Net::Telnet > Running make for J/JR/JROGERS/Net-Telnet-3.02.tar.gz > CPAN: MD5 loaded ok > Checksum for > /root/.cpan/sources/authors/id/J/JR/JROGERS/Net-Telnet-3.02.tar.gz ok > Scanning cache /root/.cpan/build for sizes > Net-Telnet-3.02/ > Net-Telnet-3.02/Makefile.PL > Net-Telnet-3.02/ChangeLog > Net-Telnet-3.02/lib/ > Net-Telnet-3.02/lib/Net/ > Net-Telnet-3.02/lib/Net/Telnet.pm > Net-Telnet-3.02/t/ > Net-Telnet-3.02/t/select.t > Net-Telnet-3.02/README > Net-Telnet-3.02/MANIFEST > Removing previously used /root/.cpan/build/Net-Telnet-3.02 > > CPAN.pm: Going to build J/JR/JROGERS/Net-Telnet-3.02.tar.gz > > Checking if your kit is complete... > Looks good > Writing Makefile for Net::Telnet > cp lib/Net/Telnet.pm blib/lib/Net/Telnet.pm > Manifying blib/man3/Net::Telnet.3 > /usr/bin/make -j3 -- OK > Running make test > PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib > -I/usr/local/lib/perl5/5.6.1/i686-linux > -I/usr/local/lib/perl5/5.6.1 -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] Erreur 29 > /usr/bin/make test -- NOT OK > Running make install > Writing > /usr/local/lib/perl5/site_perl/5.6.1/i686-linux/auto/Net/Telne > t/.packlist > Appending installation info to > /usr/local/lib/perl5/5.6.1/i686-linux/perllocal.pod > /usr/bin/make install UNINST=1 -- OK
The test program for Net::Telnet is very simple, and can be found in t/select.t under the distribution. It basically just creates a socket and calls select() to test if the socket is ready for reading. The failure of test 3 means that select() did not return the expected value of 0. You can try just ignoring the error and using 'force install Net::Telnet' from CPAN. If the problem is with the test script, the module may still work fine. Also, you should contact the module's author and see if you can work out whether the problem is with your system or with the test script. > > a second question : is ther a way to simply install all perl > modules. You don't want to install all modules. Some are platform-specific. Some require additional libraries, etc. that you have to get from third parties (GD, DBD::Oracle, etc.) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]