Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Compiling Net::Telnet -- test fails

by tektsu (Acolyte)
on Feb 06, 2002 at 21:27 UTC ( #143706=perlquestion: print w/replies, xml ) Need Help??
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?

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.
      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.


      kiku wa ittoki no haji kikanu wa matsudai no haji

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://143706]
Approved by root
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2018-06-20 19:20 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (117 votes). Check out past polls.