chubby has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks Thanks for ur swift response. I tried out the solutions specified for +my previous query but dint work out. i tried to install the Net::Teln +et module but got the following error when i ran the make test. Even +when i force installed the module it dint work. Kindly help ...... ERROR : Manifying blib/man3/Net::Telnet.3pm /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl +5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0 -e 'use Test::Harness qw(&r +untests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/select............NOK 3FAILED test 3 Failed 1/3 tests, 66.67% okay Failed Test Status 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 29 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force chubby

Replies are listed 'Best First'.
Re: Error While Installing a Module Telnet.pm
by Zaxo (Archbishop) on Jul 10, 2002 at 08:09 UTC

    If you're running Linux 2.4, the test needs to be patched. In t/select.t, test 3, change '$nfound == 0' to '$nfound == 1'.

    It's unknown to me whether that assumption about return value of select affects the working of the module.

    After Compline,
    Zaxo

Re: Error While Installing a Module Telnet.pm
by mrbbking (Hermit) on Jul 10, 2002 at 16:37 UTC
    Please report your test results to the author of the module. You can find the author's contact address on CPAN at http://search.cpan.org/search?dist=Net-Telnet. Also, you may want to send the same to the CPAN-Testers mailing list. The module's page shows that the tests fail for two platforms, but pass for 14. Are you using i386-linux?

    If you change the tests so that they do not fail, are you soving a problem or creating one? If the source of the failure is in the module, then you are very likely creating bigger problems for yourself later on.
    The goal is not to have the tests pass, but to have the module work as it should.

    If you report your results to the author, you'll take a step towards helping others avoid the same problem, and towards helping the author improve his module.

    More at http://testers.cpan.org/ and http://mrbbking.perlmonk.org/

Re: Error While Installing a Module Telnet.pm
by cfreak (Chaplain) on Jul 10, 2002 at 14:00 UTC

    I think I got this error as well when I installed Net::Telnet. You appear to be using CPAN so you can get around it by doing:

    force install Net::Telnet

    It should work just fine after that. (I think the problem lies in the test)

    Hope that helps
    Chris

    Lobster Aliens Are attacking the world!