http://www.perlmonks.org?node_id=143706

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

I am installing Net::Telnet 3.02 on Perl 5.6.1 on a number of different platforms. It fails test 3 (select() returns 1 instead of 0) on Redhat Linux 7.1 and 7.2. It works fine on RedHat Linux 6.2, HP-UX 10.20 and 11.00, and Solaris 2.6, 2.7 and 8. The failed test works fine under perl 5.6.0 on RedHat 7.1 and 2.

I'm at a loss where to go from here. Any suggestions?

tektsu
kiku wa ittoki no haji kikanu wa matsudai no haji

Replies are listed 'Best First'.
Re: Compiling Net::Telnet -- test fails
by JayBonci (Curate) on Feb 06, 2002 at 23:07 UTC
    Okay, this could be a horrible suggestion, but stuff like this has worked for me in the past. First off, I'm assuming that you're installing Net::Telnet with
    perl -MCPAN -e shell
    and in the shell doing something like
    install Net::Telnet
    Now you could just force it with
    force install Net::Telnet
    Or if you have a previous library installed, you could try something a tad sketchy by using a backdated version of perl to get it to install. Use perl -v (it'll prolly give you perl 5.6.1), and search your system for perl5.6.0. Try that with the -MCPAN -e shell. That sometimes gets things to install, but you may need to add a use lib line in the beginning of your scripts to get it right.

    Hope this helps.
    --jay
      Actually, I'm installing it from a shell script which builds perl and several modules. Getting it to install with the error is easy, I can just ignore the error. What I want to do is keep the error from happening, whether that means patching the code, or adding some configuration option.

      Thanks

      tektsu
      kiku wa ittoki no haji kikanu wa matsudai no haji