Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I downloaded Strawberry Perl and also downloaded a standalone Net::Telnet module as FTP is blocked by a firewall.

The Telnet module is a .tar.gz file. How should I install it in Windows XP?

share|improve this question

migrated from stackoverflow.com Aug 30 '10 at 11:07

This question came from our site for professional and enthusiast programmers.

    
p3rl.org/modinstall –  daxim Aug 30 '10 at 10:06
add comment

3 Answers

Short term solution:

Untar it, perl Makefile.PL and make test install.

On Strawberry Perl you should have ptar if you lack tar, and nmake if you lack make.

If perl Makefile.PL returns missing prerequisites, be sure to install those first (same way: download module, untar it, etc).

Long term solution:

  • Use CPAN::Mini in a place with FTP/HTTP access to mirror CPAN to a USB stick or shared directory
  • Instruct CPAN to use the location of the mounted USB stick/shared directory to use as source for CPAN modules (see the CPAN::Mini docs for how to do this)
  • Keep your "minicpan" up to date regularly, and
  • Use cpan/cpanm/cpanplus to install modules
share|improve this answer
add comment

The Padre on Strawberry Perl distribution now includes Net::Telnet as well. http://padre.perlide.org/download.html but the more generic solution is what @mfontani wrote.

share|improve this answer
add comment

Try this:

ptar zxf Net-Telnet-3.03.tar.gz
cd Net-Telnet-3.03
perl Makefile.PL
dmake
dmake test
dmake install
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.