How to solve "Can't locate Net/Telnet.pm in @INC" in cygwin

 Net:Telnet from Perl is such a useful little program, however, it is not by defualt installed by cgywin. The following is the steps on how to install it yourself.

It is assuming that you have make installed on your system. If it is not, please run the setup.exe again, and expand the "Devel" section to find the make package. 

The next step is to download the Net:Telnet form CPAN

The rest is pretty straightfoward. The instructions are coming with the download. Here is the output from my installation:

 

 

$ perl Makefile.PL
Writing Makefile for Net::Telnet
Writing MYMETA.yml

$ make
Skip blib/lib/Net/Telnet.pm (unchanged)
Manifying blib/man3/Net.Telnet.3pm

$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/select.t .. ok
All tests successful.
Files=1, Tests=3,  0 wallclock secs ( 0.03 usr  0.22 sys +  0.11 cusr  0.09 csys =  0.45 CPU)
Result: PASS

$ make install
Installing /usr/lib/perl5/site_perl/5.14/Net/Telnet.pm
Appending installation info to /usr/lib/perl5/5.14/i686-cygwin-threads-64int/perllocal.pod



Happy Telneting!!!

Comments

blog comments powered by Disqus