in reply to Compiling Net::Telnet -- test fails

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

Replies are listed 'Best First'.
Re: Compiling Net::Telnet -- test fails
by tektsu (Acolyte) on Feb 07, 2002 at 16:59 UTC
    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